Healing Macros

Healing Macros

by FatherThrondor » Sun Mar 29, 2015 8:48 pm

I would like to know how to macro my heals to heal my target if friendly, or heal my target's target if unfriendly. I don't want to code it to assist my target, heal, then assist back to the target i had before. I just want the button to check if my target is friendly or unfriendly, and if unfriendly heal whoever that mob is targetting, and if my target is already friendly, to just heal him/her.

Re: Healing Macros

by Rhena » Sun Mar 29, 2015 9:03 pm

The classic ui only supports casting on your current target or yourself. Every addon that does something else is just tricking you by switching so fast you can't see it.

And since i'm a nice guy:
Code: Select all
/script if UnitReaction("target","player")<=4 then TargetUnit("targettarget") CastSpellByName("Flash of Light"); TargetLastTarget()  else CastSpellByName("Flash of Light") end
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Sergeant Major
Sergeant Major

Return to Addons & macros