event
onPlayerSpellSetup (server-side)
Available since version: 0.1.3
This event is triggered when player prepares the spell.
Parameters
int playerid, int itemId
int
playerid: the id of the player who prepares the spell.int
itemId: the item id used to prepare the spell.