Skip to content

Commit

Permalink
Fix Ready Time for Cooldown Progress type triggers
Browse files Browse the repository at this point in the history
In the very common case that the cooldown gets ready while the ability
is on the gcd.

Fixes: #5420
  • Loading branch information
InfusOnWoW committed Sep 21, 2024
1 parent 5c8f859 commit 104df7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WeakAuras/GenericTrigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 104df7e

Please sign in to comment.