Skip to content

Commit

Permalink
Fix 4.4.1 SMSG_SPELL_EXECUTE_LOG
Browse files Browse the repository at this point in the history
  • Loading branch information
funjoker committed Nov 12, 2024
1 parent c3698b4 commit 30f167f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,12 @@ public static void HandleSpellLogExecute(Packet packet)
{
packet.ReadPackedGuid128("Victim");
packet.ReadInt32("Points");
packet.ReadInt32("PowerType");

if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_1_57294))
packet.ReadByteE<PowerType>("Type");
else
packet.ReadUInt32E<PowerType>("Type");

packet.ReadSingle("Amplitude");
}

Expand Down

0 comments on commit 30f167f

Please sign in to comment.