(fix/SpellDetails) handle Stealth and Prowl correctly

Reported in #65
This commit is contained in:
NoM0Re
2025-08-10 17:08:20 +02:00
parent a07e57ec0b
commit c44c7be9eb
+3 -2
View File
@@ -2867,8 +2867,9 @@ do
-- Presence of Might is on 0.0001 enabled == 0 cooldown while prepared
-- For Evoker, using an empowered spell puts spells on pause. Some spells are put on an entirely bogus 0.5 paused cd
-- Others the real cd (that continues ticking) is paused.
-- We treat anything with less than 0.5 as not on cd, and hope for the best.
if not enabled and durationCooldown <= 0.5 then
-- Also Stealth and Prowl are not on cooldown and are put on an entirely bogus of 10 paused cd
-- We treat anything with less than 0.5 or exactly 10 seconds as not on cd, and hope for the best.
if not enabled and (durationCooldown <= 0.5 or durationCooldown == 10) then
startTimeCooldown, durationCooldown, enabled = 0, 0, true
end