Requesting macro!
As a healer, I'd like to have a macro for spells this way -
Lets say, I've got Dispel Magic binded on C, and I want everything in one macro:
1. If I press C, I cast Dispel Magic on my target;
2. If I press C having mouse overed other target, it will cast Dispel Magic on my mouseovered target instead (even having someone targeted in target frame) + if I use mouseover function for raid/party frames, it will cast DIspel Magic by mouseover on selected frame instead (like Luna and DUF compability with mouseover)
3. If I have modifier pressed (alt) and press C, I will cast Dispel Magic on my target's target (assist function).
So! Press C - cast a spell, have a mouseover - cast it on mouseovered target OR frame, if alt is pressed as well - cast on target's target (assist function)
What do I have now? I'm using that macro on my hunter for mouseover function in 3D world (it shouldnt work for frames I suppose, it has different command), as well as I'm using mouseover addon which allows me to use mouseover on frames with /cmcast (spell) command.
Macro for 3D mouseover in world looks like this (note it has prio on mouseover even if you have someone in target):
/script if UnitCanAttack("player","mouseover") then TargetUnit("mouseover");CastSpellByName("Scorpid Sting(Rank 4)");TargetUnit("playertarget"); else CastSpellByName("Scorpid Sting(Rank 4)"); end
This exact macro casts Scorpid Sting(Rank 4) on my target, but if I have someone mouseovered, it tries to cast the spell on mouseovered target instead. If I have noone in my target, but I got someone mouseovered, it casts the spell on mouseovered target AND takes it as the target in target frame.
Any suggestion to make that macro possible?
Looks like hell of a work
Been using simple /cast + /cmcast commands in one macro for raid frames, and had different macro for assist function (target's target with alt modifier) as well. Plus I had to establish spells for self-cast where I could interrupt them for fake-casts, SO I had 3 different macros for 1 spell.
Now I want to have just 2 for each spell (where frames mouseover + 3d mouseover + assist function are in one macro) + second for self-cast.
Or is it even possible to make in one macro? Note that I want /stopcast function on double-usage for every spell which is castable.
By binds perspective it looks like:
Simple usage (target, mouseover (frames + 3d mouseover)) - C
Target's target usage (assist function) - alt + C
Self-usage - ctrl + C
So, I bet it is possible to add 2 modifiers for one macro?
Will pay gold in game if it will be done <3