This commit is contained in:
Bunny67
2020-06-07 15:01:05 +03:00
parent 45f4b455e9
commit 294a27d2f6
3 changed files with 8 additions and 27 deletions
+2 -8
View File
@@ -2001,10 +2001,7 @@ do
end
end
function WeakAuras.GetSpellCooldown(id, ignoreRuneCD, showgcd, ignoreSpellKnown, track)
if (not spellKnown[id] and not ignoreSpellKnown) then
return;
end
function WeakAuras.GetSpellCooldown(id, ignoreRuneCD, showgcd, track)
local startTime, duration, gcdCooldown;
if track == "charges" then
startTime, duration = spellCdsCharges:FetchSpellCooldown(id)
@@ -2031,10 +2028,7 @@ do
return startTime, duration, gcdCooldown;
end
function WeakAuras.GetSpellCharges(id, ignoreSpellKnown)
if (not spellKnown[id] and not ignoreSpellKnown) then
return;
end
function WeakAuras.GetSpellCharges(id)
return spellCounts[id];
end