Hi, all! Very new to custom weakauras. Trying to make something to track static charges when using lightning rush on skyriding, and I want an element to show only when lightning rush is on cooldown (but not when it's just on gcd). I found a snippet on the weakauras github wiki for doing exactly this, but it... just isn't working. I basically just get a ton of lua errors. I'm sure I'm probably just doing something wrong, tbh, but I don't have the experience to figure out what.
Here's my custom trigger:
local start, duration = GetSpellCooldown(418592)
if duration > 0 and duration ~= WeakAuras.gcdDuration() then
return true
else
return false
end
end```
and as instructed, I have WeakAuras.WatchGCD() in the On Init
anyone able to help?