PDA

View Full Version : Global Cooldowns and Macro Writting ...



Feider
01-22-2009, 01:05 PM
I searched the forums for clarification but most of the threads were very old.

I have been trying to clarify the limits that GCD places on macros. I used '/stopmacro' lines before and I understand '/stopmacro' is no longer needed. so

/cast spell1
/cast spell2

This only works when one of them is off the GCD correct?

Does a macros like the one below ever get to spell 4 or 5? to get (4 and 5 to cast asap when their CD is over)

/castrandom spell1, spell2, spell3
/cast spell4
/cast spell5

Any wisdom is appreciated. Thanks in advance.

emesis
01-22-2009, 02:57 PM
I searched the forums for clarification but most of the threads were very old.

I have been trying to clarify the limits that GCD places on macros. I used '/stopmacro' lines before and I understand '/stopmacro' is no longer needed. so

/cast spell1
/cast spell2

This only works when one of them is off the GCD correct?

Does a macros like the one below ever get to spell 4 or 5? to get (4 and 5 to cast asap when their CD is over)

/castrandom spell1, spell2, spell3
/cast spell4
/cast spell5

Any wisdom is appreciated. Thanks in advance.


My understanding is that anything that invokes a global cooldown in a macro aborts the processing of that macro. If a step _would_ have triggered a global cooldown but does not because, for instance, the step itself is a spell which is on specific cooldown, it does not abort macro processing.


/castrandom spell1, spell2, spell3
/cast spell4
/cast spell5


This will get to the second step (/cast spell4) if the randomly chosen spell from the first line (spell1, spell2, spell3) either fails to cast (because it is on specific cooldown or its target conditions aren't met, for example) OR if that spell does not invoke the global cooldown.

Feider
01-23-2009, 09:45 AM
Ok. I think I've got it. Thanks a lot. I need to now list out which abilities don't activate the GCD. (trinkets do not, right?)

Thanks again

so ...
/startattack
/castrandom Devastate, Revenge, Shield Bash
/cast Shield Block

... should cast Shield Block whenever its up because the Shield Block does not activate GCD. or does Shield Block have to be placed before the /castrandom?