Skip to content

Commit

Permalink
Updated 4.4.1 struct for SMSG_SET_PCT_SPELL_MODIFIER and SMSG_SET_FLA…
Browse files Browse the repository at this point in the history
…T_SPELL_MODIFIER
  • Loading branch information
Ovahlord committed Feb 9, 2025
1 parent de3aa8a commit 9fca66d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion WowPacketParserModule.V4_4_0_54481/Parsers/SpellHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,11 @@ public static void HandleSetSpellModifierFlat(Packet packet)
var modTypeCount = packet.ReadUInt32("SpellModifierDataCount", j);
for (var i = 0; i < modTypeCount; ++i)
{
packet.ReadInt32("ModifierValue", j, i);
if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_1_57294))
packet.ReadSingle("ModifierValue", j, i);
else
packet.ReadInt32("ModifierValue", j, i);

packet.ReadByte("ClassIndex", j, i);
}
}
Expand Down

0 comments on commit 9fca66d

Please sign in to comment.