Useful macros/Shaman
More actions
|
Macros Beginners Guide |
Shaman
Swift Heal
|
/script local a=IsAltKeyDown();local c,d=GetSpellCooldown(157,0);if(c==0)then CastSpell(157,0) else if(a)then TargetUnit("player") |
1. I created this macro to simplify casting Nature's Swiftness and a Healing Wave spell. It has the following behavour:
2. If Nature's Swiftness is not on cooldown cast it.
3. If Nature's Swiftness is active on you then cast Healing Wave (Rank 9) on your selected target.
4. Otherwise cast Lesser Healing Wave (Rank 6) on your target.
If you hold the Alt key then the healing spell will be cast on yourself.
Note: Since it uses spell numbers to track cooldowns and cast spells it needs to be tuned to a character's Spell Book.
This macro will search your spell book for the Nature's Swiftness spell and tell you it's spell number:
|
/script local i=1;local j;while 1 do local n,r=GetSpellName(i,0);if not n then do break end elseif n=="Nature's Swiftness" then |
Running this macro will display a dialogue box that will tell you how much to modify the spell numbers in the first macro by to get it to work for you.
With some tweaking of spell numbers this script can be made to insta-cast any spell and should also be of some use to Druids. It's not most-used yet, but hopefully it will be.
--Brahgulshin 19:26, 13 March 2006 (EST)