From c44c7be9ebfc358895a610ee7255c89dace3cacc Mon Sep 17 00:00:00 2001 From: NoM0Re <1629787+NoM0Re@users.noreply.github.com> Date: Sun, 10 Aug 2025 17:08:20 +0200 Subject: [PATCH] (fix/SpellDetails) handle Stealth and Prowl correctly Reported in #65 --- WeakAuras/GenericTrigger.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WeakAuras/GenericTrigger.lua b/WeakAuras/GenericTrigger.lua index d264a9c..9037aa0 100644 --- a/WeakAuras/GenericTrigger.lua +++ b/WeakAuras/GenericTrigger.lua @@ -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