From d56f65eb34a7ad6cd1fb1ffcd4a9ae37ae42cea5 Mon Sep 17 00:00:00 2001 From: ariel- Date: Sat, 29 Oct 2016 19:07:26 -0300 Subject: Core/Unit: send original caster in heal packet log (cherry picked from commit a9921a5dd771d1eb059ac49f8355bfa48b5e46a6) --- src/server/game/Entities/Unit/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 9150ac7288b..139fea0ed69 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -6331,11 +6331,11 @@ void Unit::SendHealSpellLog(HealInfo& healInfo, bool critical /*= false*/) { WorldPackets::CombatLog::SpellHealLog spellHealLog; - TC_LOG_DEBUG("spells", "HealSpellLog -- SpellId: %u Caster: %s Target: %s (Health: %u OverHeal: %u Absorbed: %u Crit: %d)", healInfo.GetSpellInfo()->Id, GetGUID().ToString().c_str(), healInfo.GetTarget()->GetGUID().ToString().c_str(), + TC_LOG_DEBUG("spells", "HealSpellLog -- SpellId: %u Caster: %s Target: %s (Health: %u OverHeal: %u Absorbed: %u Crit: %d)", healInfo.GetSpellInfo()->Id, healInfo.GetHealer()->GetGUID().ToString().c_str(), healInfo.GetTarget()->GetGUID().ToString().c_str(), healInfo.GetHeal(), healInfo.GetHeal() - healInfo.GetEffectiveHeal(), healInfo.GetAbsorb(), critical); spellHealLog.TargetGUID = healInfo.GetTarget()->GetGUID(); - spellHealLog.CasterGUID = GetGUID(); + spellHealLog.CasterGUID = healInfo.GetHealer()->GetGUID(); spellHealLog.SpellID = healInfo.GetSpellInfo()->Id; spellHealLog.Health = healInfo.GetHeal(); -- cgit v1.2.3