event onPlayerEquipSpell (server-side)
Available since version: 0.1.10
This event is triggered when player equips or unequips scroll or rune. When item is unequiped, null is returned instead.
Parameters
int playerid, int slotId, string|null instance
intplayerid: the id of the player who equips a spell.intslotId: the slot id that the player puts the spell on in range <0, 6>.string|nullinstance: the item instance from Daedalus scripts.