From c4c2e71767049c549ab7fa13ccfaf78b4e182f97 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 15 Nov 2013 19:59:12 +0000 Subject: [PATCH] Remove incorrect comment. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1182 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCooldown.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OvaleCooldown.lua b/OvaleCooldown.lua index 01ba924..f5167a6 100644 --- a/OvaleCooldown.lua +++ b/OvaleCooldown.lua @@ -121,9 +121,7 @@ function OvaleCooldown:ApplySpellAfterCast(state, spellId, startCast, endCast, n local start, ending, stacks = state:GetAura("player", si.buffnocd) if start and stacks and stacks > 0 then Ovale:Logf("buffnocd stacks = %s, start = %s, ending = %s, startCast = %f", stacks, start, ending, startCast) - -- XXX Shouldn't this be (not ending or ending > endCast)? - -- XXX The spellcast needs to finish before the buff expires. - if start <= startCast and (not ending or ending > startCast) then + if start <= startCast and startCast < ending then cd.duration = 0 end end -- 1.7.9.5