From 1a7061770520c26726df54c7e10923109ee4dc68 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Tue, 30 Apr 2013 16:33:18 +0000 Subject: [PATCH] Don't account for stacking damage buffs for now. Back out part of r814 that multiplied the damage increase by the stack size. There are very few stacking damage buffs, and those can be handled explicitly for now until Ovale gains a way to describe a stacking versus a non-stacking buff. This fixes the result of the Damage() and LastSpellEstimatedDamage() conditions. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@912 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index f7d95ee..e26d2f6 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -516,7 +516,7 @@ function OvaleAura:GetDamageMultiplier(spellId) local count = select(3, self:GetAuraByGUID(playerGUID, auraSpellId, filter, nil, "player")) if count and count > 0 then -- Try to account for a stacking aura. - multiplier = 1 + (multiplier - 1) * count + -- multiplier = 1 + (multiplier - 1) * count damageMultiplier = damageMultiplier * multiplier end end @@ -530,7 +530,7 @@ function OvaleAura:GetDamageMultiplier(spellId) count = select(3, self:GetAuraByGUID(playerGUID, auraSpellId, filter, nil, "player")) if count and count > 0 then -- Try to account for a stacking aura. - multiplier = 1 + (multiplier - 1) * count + -- multiplier = 1 + (multiplier - 1) * count damageMultiplier = damageMultiplier * multiplier end end -- 1.7.9.5