From 35caec2b92062fc5b3ffe691c9739b16aada8860 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 22 May 2014 16:28:59 +0000 Subject: [PATCH] An aura that never expires may still have changed if its values change. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1493 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index c4c822b..b12af90 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -398,12 +398,15 @@ function OvaleAura:GainedAuraOnGUID(guid, atTime, auraId, casterGUID, filter, vi end -- Only overwrite an active aura's information if the aura has changed. - -- An aura's "fingerprint" is its: caster, duration, expiration time, stack count. + -- An aura's "fingerprint" is its: caster, duration, expiration time, stack count, value local auraIsUnchanged = ( aura.source == casterGUID and aura.duration == duration and aura.ending == expirationTime and aura.stacks == count + and aura.value1 == value1 + and aura.value2 == value2 + and aura.value3 == value3 ) -- Update age of aura, regardless of whether it's changed. -- 1.7.9.5