Skip to content

Commit

Permalink
Update 11.0.5 combat log packet structures
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Oct 27, 2024
1 parent 1cba5ce commit dc01a27
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion WowPacketParserModule.V8_0_1_27101/Parsers/SpellHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ public static void ReadSpellCastLogData(Packet packet, params object[] idx)
packet.ReadInt32("AttackPower", idx);
packet.ReadInt32("SpellPower", idx);
packet.ReadInt32("Armor", idx);
if (ClientVersion.AddedInVersion(ClientVersionBuild.V11_0_5_57171))
{
packet.ReadInt32("Unknown_1105_1", idx);
packet.ReadInt32("Unknown_1105_2", idx);
}

packet.ResetBitReader();

Expand All @@ -204,7 +209,7 @@ public static void ReadSpellCastLogData(Packet packet, params object[] idx)
if (ClientVersion.RemovedInVersion(ClientType.TheWarWithin))
packet.ReadInt32E<PowerType>("PowerType", idx, i);
else
packet.ReadByteE<PowerType>("PowerType");
packet.ReadByteE<PowerType>("PowerType", idx, i);
packet.ReadInt32("Amount", idx, i);
packet.ReadInt32("Cost", idx, i);
}
Expand Down

0 comments on commit dc01a27

Please sign in to comment.