Fix ticket 268 - LastEstimatedDamage not acounting for DamageMultiplier.
Johnny C. Lam [07-19-13 - 05:32]
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
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