Could you help me with this macro please? What you can see below is working! However, I would like to add [harm] [@targettarget] in my macro but when I add harm and targettarget it stop working :(.
The problem is, that [harm][@targettarget] does not mean what you think it means: that condition doesn’t mean “cast this at targettarget if it’s an enemy”, it means “cast this if target is an enemy, or at targettarget”. If you want to cast the spell on your target’s target, if your target is an enemy, the correct condition is [harm,@targettarget]. You will need to move the [nomod] and [mod:alt] conditions inside, too.
This is because each condition - the stuff between [] - is interpreted independently, each [] is a single condition. If it’s met, the spell is cast. To have multiple conditions that need to be all met at the same time, you need to list them in the same [] block. Multiple [] blocks aren’t checked together, they’re checked after one another, and once WoW finds the first condition that’s met, it will cast the spell, and not process the rest.