added EmpoweredSpell stage detection

added empowered spell stage detection
pull/6/head
CiscOH 2 years ago
parent e351a69897
commit 659720438f
  1. 2
      src/Unit/Unit.lua

@ -439,7 +439,7 @@ function Unit:GetEmpowerStage()
for i = 1, totalStages do
stageDuration = stageDuration + GetUnitEmpowerStageDuration((self:GetOMToken()), i - 1) / 1000
if startTime + stageDuration > currentTime then
break -- Break early so we don't keep checking, we haven't hit this stage yet
break
end
stage = i
end

Loading…
Cancel
Save