Casting a spell?

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Dadelot
orc pawn
orc pawn
Posts: 14
Joined: Sun Aug 15, 2004 6:49 pm

Casting a spell?

Post by Dadelot » Sun Aug 15, 2004 6:57 pm

Hello there,
is there a way to know if I am casting a spell?
I would like to add a condition in my macro that would look like

Code: Select all

/cast "MySpell1"
/delay 30s  !${Me.Casting}
/cast "MySpell2"
Basically, I want to chain cast 2 spells... I know I could do this with a /delay xx where xx is the cast time of the previous spell but well... I guess there is a better way.

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Re: Casting a spell?

Post by Chill » Sun Aug 15, 2004 7:47 pm

Dadelot wrote:is there a way to know if I am casting a spell?
To answer your question, they fixed ${Me.Casting} in a recent zip. That will tell you if you are casting a spell.
Dadelot wrote:I would like to add a condition in my macro that would look like

Code: Select all

/cast "MySpell1"
/delay 30s  !${Me.Casting}
/cast "MySpell2"
Basically, I want to chain cast 2 spells...
The "better way" would be to look in the Snippets section and copy either spellcast.inc or spell_routines.inc and instead of /casting a spell you can #include the file and /call cast yourspell.

The include file will take care of checking for fizzles and waiting until youre done casting, etc.

Dadelot
orc pawn
orc pawn
Posts: 14
Joined: Sun Aug 15, 2004 6:49 pm

Post by Dadelot » Sun Aug 15, 2004 7:58 pm

Thanks, exactly what I needed.