Hammer of Wrath
It first checks if your target is hostile, if it is it throws Hammer of Wrath. If it’s a friendly target, it checks if your target’s target is hostile and then throws Hammer of Wrath at them.
#showtooltip Hammer of Wrath
/cast [harm] Hammer of Wrath [target=targettarget,harm] Hammer of Wrath
/cast [combat] Divine Favor
/stopcasting
/cast [help] Holy Light; [target=targettarget] Holy Light
Ultimate Guide Guarantee: "...within seconds of accepting a quest you will
know WHERE to go, HOW to complete it, and WHEN to do it." Click Here For Proof!
/cast [target=mouseover, exists] [help] [target=player] Cleanse
/cast [target=focus, exists] Repentance; Repentance
#showtooltip
/cast [target=focus, exists] Blessing of Sacrifice; Blessing of Sacrifice