Thread Tools Display Modes
09-07-13, 06:23 AM   #1
ZickZak
A Kobold Labourer
Join Date: Nov 2009
Posts: 1
Macro / Addon Help

So I'm using this macro...
Code:
#showtooltip
/castsequence [@mouseover,harm,nodead] [@mouseovertarget,harm,nodead] [@mouseovertargettarget,harm,nodead] [@mouseovertargettargettarget,harm,nodead] [@mouseovertargettargettargettarget,harm,nodead] reset=5 Holy fire, Smite, Smite, Smite, Smite, Smite
/cleartarget
/targetenemy
/castsequence reset=5 Holy fire, Smite, Smite, Smite, Smite, Smite
and it's cute and all, but when there's heroism, it kinda doesn't fit well anymore.

I was thinking of paging bartender when HF is on CD, but there's no conditional or w/e is it called to do that. Is there ANY way how to page a bar based on CD, or like page it with macro and after 10 seconds page it back or some addon that would do it?

Basically I'd have the above macro on bar 1 (only smite) and on bar 2 the same macro only HF, which when cast would page to bar 1 and after 10 seconds back to bar 2 until HF cast...
  Reply With Quote
09-07-13, 09:16 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Having a macro respond to a cooldown has been specifically disabled by Blizzard. In the past, this was accomplished by having one spell listed after the other like in the example below.
Code:
/cast Holy Fire
/cast Smite
However, Blizzard added in a check with every spellcast command to see if the GCD would've been triggered if a spell had been cast regardless of its personal cooldown or any other condition.

Prior to the SecureActionButton system, addons had direct access to functions like CastSpell(). Because of addons that allowed the user to repeatedly mash one button to play. Blizzard implemented their taint system and locked the function so that only their code can use it.

To sum it up, no, you can't have a macro and/or an addon react and change spells (including actionbar pages) based on the conditions of a cooldown.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Macro / Addon Help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off