Any one know how to incorporate holy power into LUA macro? This is macro im using so far and would like for an addition of usage with the new holy power stuff. I want to have something so where at 3 holy power i can cast spell templar's verdict
any help would be awesome!
here is what im using so far and works very well with the new ret pally set ups
Code:
/startattack
/run if (UnitHealth("target")/UnitHealthMax("target")<0.2) and GetSpellCooldown("Hammer of Wrath") ==0 then CastSpellByName("Hammer of Wrath") end
/run if UnitBuff("player", "avenging wrath") and GetSpellCooldown("hammer of wrath")==0 then CastSpellByName("hammer of wrath") end
/run if UnitBuff("player", "the art of war") and GetSpellCooldown("exorcism")==0 then CastSpellByName("exorcism") end
/run if UnitBuff("player", "hand of light") and GetSpellCooldown("templar's verdict")==0 then CastSpellByName("templar's verdict") end
/run if GetSpellCooldown("Judgement") ==0 then CastSpellByName("Judgement") end
/run if GetSpellCooldown("crusader strike") ==0 then CastSpellByName("crusader strike") end
/run if GetSpellCooldown("holy wrath") ==0 then CastSpellByName("holy wrath") end
/run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");