i love this mac and now it doesn't work. i thought maybe it was because of new spell gems, but even in gem 1 the mac will cast 1 spell and then end.
error message:
macro:
error message:
macro:
Rich (BB code):
|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 spell_routines.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