-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSkillCast.mac
More file actions
38 lines (31 loc) · 870 Bytes
/
SkillCast.mac
File metadata and controls
38 lines (31 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|SkillCast.mac
|Created by HooseNutz - 27 FEB 05
|-Required plugins NONE
|USE: /macro skillcast 8
|Why I made this, instead of using MQ2Twist |to twist a spell-gem and chance getting |caught using MQ2. And to skill-up your |choice of spell types.
#include MQ2Cast.inc
#turbo 10
/Echo =============================
/Echo HooseNutz's Spell Caster
/Echo =============================
Sub Main
/declare SpellName
/varset SpellName ${Me.Gem[${Param0}]}
/if (${Me.State.Equal[Sit]}) /stand
:CheckMana
/if (${Me.PctMana}<20) /goto :SitDown
:CheckCursor
/if (${Cursor.ID}) {
/autoinv
/goto :CheckCursor
}
:CastSpell
/call cast "${SpellName}"
/doevents
/goto :CheckMana
:SitDown
/if (${Me.State.Equal[STAND]}) /sit on
:HowMuchMana
/if (${Me.PctMana}<98) /goto :HowMuchMana
/goto :CheckMana
/endmacro