by Dyaxler » Thu Feb 25, 2016 7:32 am
Didn't know where else to share this... here are some Macro's I wrote for my Priest:
*UPDATED* I discovered that if you use the "short-cut" 'cast' from Supermacro instead of 'CastSpellByName' it messes with the range indicators.
- Code: Select all
-- Cast SWP if it's not already on the target
/script UIErrorsFrame:Hide()
/script if not buffed("Shadow Word: Pain", 'target') then CastSpellByName("Shadow Word: Pain") end
-- Don't double up on Renew
/script UIErrorsFrame:Hide()
/script if UnitExists("target") and UnitIsFriend("target", "player") then if not buffed("Renew", 'target') then CastSpellByName("Renew") end return end if not buffed("Renew", 'player') then cast("Renew",1) end
-- Self-Buffs:
/script if not buffed("Inner Fire", 'player') then CastSpellByName("Inner Fire") else if not buffed("Power Word: Fortitude", 'player') then CastSpellByName("Power Word: Fortitude",1) end;end
-- Rotation:
/script UIErrorsFrame:Hide()
/script if not buffed("Shadow Word: Pain", 'target') then CastSpellByName("Shadow Word: Pain") end DoOrder("Mind Blast", "Smite")
-- Mashable Wand Cast
/script UIErrorsFrame:Hide()
/script if (UnitName('target')==nil) then TargetNearestEnemy() else if not IsAutoRepeatAction(12) then CastSpellByName("Shoot") end;end
-- Instant Casts
/script UIErrorsFrame:Hide()
/script SpellStopCasting()
/script CastSpellByName("Desperate Prayer",1)
/script UIErrorsFrame:Hide()
/script SpellStopCasting()
/script CastSpellByName("Fade",1)
/script UIErrorsFrame:Hide()
/script SpellStopCasting()
/script CastSpellByName("Power Word: Shield",1)
-- Self-heal if no target
/script UIErrorsFrame:Hide()
/script SpellStopCasting()
/script if UnitExists("target") then CastSpellByName("Lesser Heal") else CastSpellByName("Lesser Heal",1) end
/script UIErrorsFrame:Hide()
/script SpellStopCasting()
/script if UnitExists("target") then CastSpellByName("Heal") else CastSpellByName("Heal",1) end
/script UIErrorsFrame:Hide()
/script SpellStopCasting()
/script if UnitExists("target") then CastSpellByName("Flash Heal") else CastSpellByName("Flash Heal",1) end
Author of SpartanUI for Vanilla WoW 1.12More info available here:
Nostalrius Forum thread link. - Feed back welcome.
Submit bugs on GitHub or post about it in the forum thread.