From f064caa5cb66cb712dc4a971c7632f253cd7a748 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 22 Nov 2008 13:59:45 -0600 Subject: *Send correct spell damage log to client (damage should include resist, do not know if should include absorb). --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3