Page 1 of 1

Macro multible spells

PostPosted: Tue Jan 19, 2016 3:39 pm
by Mahata
Hey

I am currently trying out macros but I am having a hard time making it work. I tried to put to spells in the same macro but it seems like it is trying to cast them at the same time.

I tried out Hunter' Mark and Arcane Shot but it would onley cast Hunter's mark and then tell me that I was already casting a spell.

Are there a command I can use to put them in a chronological order ore is that not a thing?

Sry for the bad grammer,

Re: Macro multible spells

PostPosted: Wed Jan 20, 2016 1:49 am
by RedBanner
It helps to see what you are using for the failing macro in order to explain how to adjust it.

Lets say this is your macro (which is written plainly for better understanding - this will not work in game):

cast Hunter's Mark
cast Arcane Shot

This macro will always cast Hunter's Mark. The reason is because HM triggers the cooldown, and you can only trigger the cooldown once in the macro. The next time you hit the macro button it will cast HM again because it's the first line of the macro. The reason you get an error message is because it tries to cast Arcane Shot but the cooldown is in effect.

You can make it so that you only need one button to cast both spells, but you will have to hit the button twice, and you will have to write in conditional statements that tell the game how to respond when you hit the button.

So the above macro would need to say something like this:

if the target doesn't have Hunter's Mark, cast Hunter's Mark, or else cast Arcane Shot

I have found that when checking buffs in a macro it is just easier to use the SuperMacro addon most of the time as you can use the name of the buff as it appears on-screen. When using the regular macro interface you need the name of the icon which is not always the name of the buff.

In SuperMacro this should be:
Code: Select all
/script if not buffed("Hunter's Mark", "target") then cast("Hunter's Mark") else cast("Arcane Shot") end


Again, you will have to hit this macro button twice to get both Hunter's Mark and Arcane Shot.