Core/Unit: send original caster in heal packet log

(cherry picked from commit a9921a5dd771d1eb059ac49f8355bfa48b5e46a6)
This commit is contained in:
ariel-
2017-11-11 20:49:26 +01:00
committed by joschiwald
parent cc44c5f349
commit d56f65eb34
+2 -2
View File
@@ -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();