From 104df7e55cbc6dfa48e168224fbc737e152ee468 Mon Sep 17 00:00:00 2001 From: Infus Date: Sat, 21 Sep 2024 16:13:41 +0200 Subject: [PATCH] Fix Ready Time for Cooldown Progress type triggers In the very common case that the cooldown gets ready while the ability is on the gcd. Fixes: #5420 --- WeakAuras/GenericTrigger.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/WeakAuras/GenericTrigger.lua b/WeakAuras/GenericTrigger.lua index b3ab43a5ae..a378922331 100644 --- a/WeakAuras/GenericTrigger.lua +++ b/WeakAuras/GenericTrigger.lua @@ -2300,6 +2300,7 @@ do local nowReady = false local time = GetTime() if self.expirationTime[id] and self.expirationTime[id] <= time and self.expirationTime[id] ~= 0 then + self.readyTime[id] = self.expirationTime[id] self.duration[id] = 0 self.expirationTime[id] = 0 changed = true