From eafe8657de88efda1c0171a73c4d9388da178d5d Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 19 Jul 2013 05:32:43 +0000 Subject: [PATCH] Fix ticket 268 - LastEstimatedDamage not acounting for DamageMultiplier. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@971 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index 740a461..0f3c8e2 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -2082,7 +2082,7 @@ OvaleCondition.conditions.lastestimateddamage = function(condition) local mh = OvaleFuture:GetLastSpellInfo(guid, spellId, "mainHandWeaponDamage") or 1 local oh = OvaleFuture:GetLastSpellInfo(guid, spellId, "offHandWeaponDamage") or 1 local combo = OvaleFuture:GetLastSpellInfo(guid, spellId, "comboPoints") or 1 - local dm = OvaleFuture:GetLastSpellInfo(guid, condition, "damageMultiplier") or 1 + local dm = OvaleFuture:GetLastSpellInfo(guid, spellId, "damageMultiplier") or 1 return 0, nil, OvaleData:GetDamage(spellId, ap, sp, mh, oh, combo) * dm, 0, 0 end OvaleCondition.conditions.lastspellestimateddamage = OvaleCondition.conditions.lastestimateddamage -- 1.7.9.5