[Classic] Need Help with Auto-Attack Macro and target-of-target macro for healing!

  1. So, For my spells I use a macro for target of target AND do auto attack after a spell cast
    #showtooltip Frost Shock
    /cast [harm][@targettarget,harm] Frost Shock
    /startattack

Is there a way to change the auto attack after spell macro to NOT target an enemy if i’m targeting a friendly target?

Because currently, if i cast let’s say a totem or lighting shield, it’ll target and start auto attacking any nearby enemy despite targeting a friendly target before the cast of spell and I don’t like it.

  1. I tried making a heal macro like this:
    #showtooltip
    /cast Lesser Healing Wave
    /startattack

While also addressing the same issue above, how do you heal target-of-target(and if target is currently a friendly, they take priority).

Thanks!

#showtooltip
/stopmacro [help]
/cast [harm] [@targettarget,harm,nodead] [] Frost Shock
/startattack

But it kind of makes the whole macro pointless. Effectively eliminating the @targettarget condition entirely becoming:

#showtooltip
/cast Frost Shock
/startattack
2 Likes

thanks, you the man