So, I tried to play with some LUA and VFL things again.
Code:
function dscd()
local divinestormcd, duration, enabled = GetSpellCooldown("Divine Storm");
if ( divinestormcd > 0 and duration > 1.5) then
VFL.AdaptiveSchedule(dstas, 0.1, dst);
end
end;
VFL.AdaptiveSchedule(nil, 0.1, dscd);
function dst()
local divinestormcd, duration, enabled = GetSpellCooldown("Divine Storm");
if ( divinestormcd > 0 and duration > 1.5) then
nil
else
print("Divine Storm Ready!") and VFL.AdaptiveUnschedule(dstas);
end
end;
I want RDX to track my Divine Storm cooldown for me, and this is what I got. (stole most of the script from other sources, and tried to scrap it all together X_X)