Hey guys!
I made this macro:
#showtooltip
/target Wild Mushroom
/stopmacro [noexists]
/target=target
/stopmacro [noexists, harm]
/cancelform
/cast Wild Charge
It targets the Wild Mushrooms, cancelforms and casts Wild Charge, IF there are no Mild Mushrooms to target it stops the macro, so I don't cancelform.
If there are no Wild Mushrooms to target, the target stays the same as before and it cancelforms and charges to it.
If there are no Mushrooms and I didn't have a (friendly) target before, it stops the macro again, so I don't cancelform and don't cast Wild Charge.
The problem is:
I want to
/cancelform
/cast Wild Charge
my target.
If a (friendly) target doesn't exist, I want to target a Wild Mushroom and
/cancelform
/cast Wildcharge
If i neither have a current friendly target, nor there is a a (friendly) Mushroom available, I want to stop the macro so I neither /cancelform nor /cast Wild Charge.
It "should" be very similar to the first macro, only with a changed target order, and I've tried many many things, but somehow it doesn't work for me I quess my macro knowledge has reached its limits. Can anybody help me create the correct macro for it? Oh and I'd love if you could also make sure, that my macro never works, when the Wild Mushroom is a harmful target, so I don't Wild Charge to an unfriendly Mushroom and stuff :x When I add [harm;noharm,help] the macro stops working.
This macro help request is in the druid forums, because imo the macro is a bit complicated and you might need to try the macro out if it does everything you want [exists, noexists, harm, noharm, stopmacro etc etc etc].
edit: One final question: Could you (help me) develop (-ing) the macro, so that the macro restores my target to the target I had before the macro was used in all those possible cases?
Greetings!