Core/Unit: send original caster in heal packet log
(cherry picked from commit a9921a5dd771d1eb059ac49f8355bfa48b5e46a6)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user