Shaman Macro.........not auto shaman

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

retardo
orc pawn
orc pawn
Posts: 19
Joined: Wed Sep 22, 2004 1:20 am

Shaman Macro.........not auto shaman

Post by retardo » Fri Oct 01, 2004 8:13 am

How about a macro for shaman spell casting, where clicking on slow (for example) will return target slowed/resisted/immune when spell hits? maybe there is one, but having looked thru macro depot couldn't see one.


I would do it myself but I'm thick as pigshit

Hamner
a lesser mummy
a lesser mummy
Posts: 47
Joined: Wed Aug 04, 2004 9:30 am

Post by Hamner » Fri Oct 01, 2004 8:51 am


dedpoet
a hill giant
a hill giant
Posts: 247
Joined: Sat Aug 14, 2004 12:22 pm

Post by dedpoet » Thu Oct 07, 2004 7:49 am

If you use Spell_Routines.inc, it returns one of the following:

${String[${Macro.Return}].Equal[CAST_RESISTED]}
or
${String[${Macro.Return}].Equal[CAST_IMMUNE]}

So you could do something like:

Code: Select all

/call Cast ${YourSlowSpell} gem4
/devents
/if (${String[${Macro.Return}].Equal[CAST_IMMUNE]}) {
   /varset slowed 0
   /gsay omgz0rz %t is immune to slow
}
/if (${String[${Macro.Return}].Equal[CAST_RESISTED]}) {
   /varset slowed 0
   /gsay omgz0rz %t resisted slow
}
[code]

There are a few macros out there that do this.  Check the shaman macros out and see what you can find.