From 2402b1968f0571629f04cd00a293eaf42ca39347 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 14 Sep 2012 22:45:40 +0000 Subject: [PATCH] Fix for ticket 159. OvaleAura needs to update the number of stacks of an aura if it differs from the previous number, not just if it has increased. This fixes the problem of BuffStacks() not showing stack counts correctly when they decrease. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@521 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index 5597898..689fbf4 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -79,7 +79,7 @@ function OvaleAura:AddAura(unitGUID, spellId, unitCaster, icon, count, debuffTyp count = 1 end - if not aura.ending or aura.ending < expirationTime or aura.stacks < count then + if not aura.ending or aura.ending < expirationTime or aura.stacks ~= count then aura.icon = icon aura.stacks = count aura.debuffType = debuffType -- 1.7.9.5