Charge, Shield Charge, Intervene Macro

i wanted to combine all these into single macro for a while and saw a lot of posts but couldn’t find anything that works without modifier keys.

So after a lot of trial and error i wrote one myself.

#showtooltip Charge
/cast [target=mouseover,help,exists,nodead]Intervene;Intervene [target=target,harm,exists,nodead]Charge;Charge
/cast [target=target,harm,exists,nodead,combat] Shield Charge

Showtooltip doesn’t work for some reason, so i set it to charge.

how it works is;
When targeting and enemy and you are not in combat, it will only cast Charge,
while in combat, and facing the boss head on, due to Charge’s min cast range, you can hit the macro to use only Shield Charge,
when you target or mouseover a friendly target, it will prioritize Intervene and you can cast with no issue.

The only issue if you call it is;
if in combat, you need to charge to an enemy that is away from you and Shield Charge is not on cooldown, due to Charge being off GCD, macro will attempt to cast both, and for some reason, even though, Shield Charge it set to cast after, It will first cast Shield Charge, then cast Charge, losing the AoE dmg and stun from Shield Charge.

But a way to handle that with no issue is to cast a spell like Thunder Clap, then charge immediately afterwards, so Shield Charge is on GCD and won’t be wasted. you can still hit it mid way or after Charge.

I post this so, maybe there is someone who knows and can fix the issue with the cast order. And people looking for such a macro can use it.

I’ve tried something similar before and remember it as putting both on cooldown?