WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Macro / Addon Help (https://www.wowinterface.com/forums/showthread.php?t=48091)

ZickZak 09-07-13 06:23 AM

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...

SDPhantom 09-07-13 09:16 AM

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.


All times are GMT -6. The time now is 03:54 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI