Core/Packets: ported SMSG_SPELL_DAMAGE_SHIELD to packet class and handle its missing field

This commit is contained in:
Ovahlord committed 2022-09-12 09:15:34 +02:00
1 parent e76b43d2e9
commit 2b3477fab5
5 files changed
+44 -14

No files matched your search

@@ -90,3 +90,16 @@ WorldPacket const* WorldPackets::CombatLog::EnvironmentalDamageLog::Write()
return &_worldPacket;
}
WorldPacket const* WorldPackets::CombatLog::SpellDamageShield::Write()
{
_worldPacket << Defender;
_worldPacket << Attacker;
_worldPacket << int32(SpellID);
_worldPacket << int32(TotalDamage);
_worldPacket << int32(OverKill);
_worldPacket << int32(SchoolMask);
_worldPacket << int32(LogAbsorbed);
return &_worldPacket;
}