Core/Units: converted SMSG_SPELL_ENERGIZE_LOG to packet class and no longer send PowerUpdate packets when gaining power via energize spell effects
This commit is contained in:
1 parent
f8c35be20c
commit
a08ab06d36
6 files changed
+45
-20
No files matched your search
@@ -68,3 +68,14 @@ WorldPacket const* WorldPackets::CombatLog::AttackerStateUpdate::Write()
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::CombatLog::SpellEnergizeLog::Write()
|
||||
{
|
||||
_worldPacket << TargetGUID.WriteAsPacked();
|
||||
_worldPacket << CasterGUID.WriteAsPacked();
|
||||
_worldPacket << int32(SpellID);
|
||||
_worldPacket << int32(Type);
|
||||
_worldPacket << int32(Amount);
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
Reference in new issue
Block a user