Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Useful macros/Shaman

From WoW Classic Wiki

Macros Beginners Guide
HOWTO: Make a Macro
UI FAQ/Macros and Scripts
Category:Macros


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")
end;if(d==0.001)then CastSpell(146,0) else CastSpell(152,0) end;if(a)then TargetLastTarget() end;end

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
j=i-157;_ERRORMESSAGE("Nature's Swiftness is spell number "..i.." modify spell numbers by "..j) end;i=i+1;end

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)