I am pretty terrible when it comes to making macros so I am seeking some help.
I am looking for a macro that will use my command demon pet ability by default but also check and see if I have my felhunter out. If I do, I would like it to use Spell Lock if an enemy is casting and Devour Magic if the enemy is not casting but I am not sure if something like that is possible.
Below is my thought on how to maybe do that, but since I am super new with macros when it comes to adding conditions, I assume that this is probably way off and would like some help:
#showtooltip
/cast [pet:felhunter][target,harm,channeling] Command Demon; [target,harm] Devour Magic
/cast Command Demon
If a macro like that isn't possible, then I would likely use something like this with a mod key:
#showtooltip
/cast Command Demon
/cast [pet:felhunter] [mod:alt] Devour Magic
Spell Lock/Command Demon and Devour Magic are on your pet's GCD. You'll need to use a modifier to differentiate between the two casts.
#showtooltip
/cast [mod:alt,pet:felhunter/observer,@mouseover,harm,nodead] [mod:alt,pet:felhunter/observer] Devour Magic; [@mouseover,exists,nodead] [] Command Demon
Alt-click will Devour if Felhunter/Observer
Click will Command Demon
Included mouseover support for both.
Spell Lock/Command Demon and Devour Magic are on your pet's GCD. You'll need to use a modifier to differentiate between the two casts.
#showtooltip
/cast [mod:alt,pet:felhunter/observer,@mouseover,harm,nodead] [mod:alt,pet:felhunter/observer] Devour Magic; [@mouseover,exists,nodead] [] Command Demon
Alt-click will Devour if Felhunter/Observer
Click will Command Demon
Included mouseover support for both.
Awesome, thanks! Is the last set of [] before Command Demon supposed to be there?
Is the last set of [] before Command Demon supposed to be there?
Yes. It essentially means "cast the spell as you would when casting it from the spellbook" which means it takes care of casting it on targets.