Originally Posted by Dgrimes
Ok here is the code you can use:
Code:
local function dscd()
local start, duration, enabled = GetSpellCooldown(53385);
if (duration > 1.5) and ( start > 0) then
local timeleft = (start + duration) - GetTime();
VFL.ZMSchedule(timeleft, function() VFL.print("Divine Storm Ready!"); end);
end
end
WoWEvents:Bind("SPELL_UPDATE_COOLDOWN", nil, dscd);
That should work for you.
|
Ah, this would work perfectly if not for a little trick.
There's a method to my madness in using an adaptiveschedule, in that regular timers don't work with my 2P T10 retribution, which has a 40% on hit to cause Divine Storm to reset cooldown.
I have no set time that I know when Divine Storm will come back up, so I figured the most efficient way to do this was for it to update as often as possible?
The combat log reports this, "Divine Storm!" when the 2 piece T10 goes off, according to wowhead.
http://www.wowhead.com/spell=70769
So maybe it can be done more efficiently with other binds, but I'm not sure.
I wish there was an easy way to do it. x3