aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-22 13:59:45 -0600
committermegamage <none@none>2008-11-22 13:59:45 -0600
commitf064caa5cb66cb712dc4a971c7632f253cd7a748 (patch)
tree7ab1124c98d8830f83238540a2cfbc911a1047f7 /src
parentd6066ce58590f746156075e4077596790f0039c8 (diff)
*Send correct spell damage log to client (damage should include resist, do not know if should include absorb).
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 0498c8d3711..83ad2b51b1c 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -1475,7 +1475,7 @@ uint32 Unit::SpellNonMeleeDamageLog(Unit *pVictim, uint32 spellID, uint32 damage
GetGUIDLow(), GetTypeId(), pVictim->GetGUIDLow(), pVictim->GetTypeId(), damage, spellID, absorb,resist);
// Actual log sent to client
- SendSpellNonMeleeDamageLog(pVictim, spellID, damage, GetSpellSchoolMask(spellInfo), absorb, resist, false, 0, crit);
+ SendSpellNonMeleeDamageLog(pVictim, spellID, damage + resist, GetSpellSchoolMask(spellInfo), absorb, resist, false, 0, crit);
// Procflags
uint32 procAttacker = PROC_FLAG_HIT_SPELL;