Macro for lay on hands

Is it possible to have this macro?



- If there is no target or an enemy is targeted, cast Lay on Hands on myself

- If a friendly player is targeted, cast it on him if he's not dead.



I hate when someone kills the FC just when i'm casting LoH and i end up casting it on myself losing a 20min cooldown (15 min when i finally lay my hands -lol- on the minor glyph).
 
Yep



/cast [help] [nohelp, target=player] Lay On Hands
 
no help is not really valid, its help or harm (nohelp does exist but is not equal to harm). But what you want is:



/stopmacro [@target,help,dead]

/cast [help,exists][harm,@player][@player] Lay on Hands



If all works as it should this will;



  1. Not cast at all if your target is friendly and dead.
  2. Cast on your target if its friendly and exists (alive).
  3. Cast on you if your target is hostile.
  4. Cast on you in any other situation.



That should work ok, not tested though.
 
looks good!

but it has to pass the last test, which is casting it on a target which just died.. i've still haven't had this happen since i switched to your version.
 

Users who are viewing this thread

Top