Skip to content

Commit

Permalink
Fixed SMSG_ATTACKER_STATE_UPDATE reading for 4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovahlord committed Nov 14, 2024
1 parent 5580eab commit 6a7c6b5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ public static void ReadAttackRoundInfo(Packet packet, params object[] indexes)
if (hitInfo.HasAnyFlag(SpellHitInfo.HITINFO_BLOCK | SpellHitInfo.HITINFO_UNK12))
packet.ReadSingle("Unk Float", indexes);

ReadCombatLogContentTuning(packet, indexes, "ContentTuning");
if (ClientVersion.RemovedInVersion(ClientVersionBuild.V4_4_1_57294))
ReadCombatLogContentTuning(packet, indexes, "ContentTuning");
else
ReadContentTuningParams(packet, indexes, "ContentTuning");
}

public static void ReadContentTuningParams(Packet packet, params object[] idx)
Expand Down

0 comments on commit 6a7c6b5

Please sign in to comment.