From 659720438f788d3831e6d7f8d14d4b186d0a0c08 Mon Sep 17 00:00:00 2001 From: CiscOH Date: Tue, 18 Jul 2023 03:20:34 +0000 Subject: [PATCH] added EmpoweredSpell stage detection added empowered spell stage detection --- src/Unit/Unit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unit/Unit.lua b/src/Unit/Unit.lua index da7cb9a..d17c651 100644 --- a/src/Unit/Unit.lua +++ b/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