View Single Post
05-10-10, 11:12 AM   #7
Dgrimes
A Black Drake
 
Dgrimes's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 89
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.
__________________
What was is, what will be was.
  Reply With Quote