[[Category Packet]]
[[Category Packet 317]]
{{packet|name=Magic on items|description=Sent when a player casts magic on the items in their inventory.|opcode=237|type=Fixed|length=8|revision=317}}
== Magic on Items ==

=== Description ===

This packet is sent when a player casts magic (i.e. High Level Alchemy) on the items in their inventory.

=== Packet Structure ===
{|border=2
! Data Type
! Description
|-
| [[Data Types#Standard data types|Short]]
| The items slot ID.
|-
| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
| The item ID.
|-
| [[Data Types#Standard data types|Short]]
| The frame ID.
|-
| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
| The spell ID.
|-
|}