Validated to OP_CastSpell -- still causes a spell to unmem after cast

This commit is contained in:
dannuic
2026-04-18 00:08:18 -06:00
parent 3bb7f94713
commit 08cdd8234d
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -352,6 +352,7 @@ namespace TOB
ENCODE(OP_CastSpell)
{
// I don't think the client handles this at all, it only sends the cast packet
ENCODE_LENGTH_EXACT(CastSpell_Struct);
SETUP_DIRECT_ENCODE(CastSpell_Struct, structs::CastSpell_Struct);
@@ -363,6 +364,7 @@ namespace TOB
//OUT(inventoryslot);
OUT(target_id);
LogNetcode("S->C OP_CastSpell {}", DumpPacketToString(__packet));
FINISH_ENCODE();
}
@@ -3648,6 +3650,7 @@ namespace TOB
IN(y_pos);
IN(x_pos);
IN(z_pos);
LogNetcode("C->S OP_CastSpell {}", DumpPacketToString(__packet));
FINISH_DIRECT_DECODE();
}