Help with a macro


#1

Hi how would i go about making a macro that will cast at my target if i have one or my self if i dont

#showtooltip Raise Abomination
/cast [@Player] Raise Abomination

anyway to have that with target also ? i found some old macros for this that dident seem to work


#2

Hi,
you can use the @target and exists conditions.

#showtooltip
/cast [@target,exists][@player]Raise Abomination

With this macro you will cast at your target, if you have one, otherwise you will cast at yourself.

Regards