Skip to content

event onPlayerSpellCast (server-side)

Available since version: 0.1.3

This event can be canceled

Note

Right now transformation and summon spells are not supported, despite this event will be triggered for them. Cancelling this event willl prevent this action to be synced to other players.

This event is triggered when player is casting some spell.

Parameters

int playerid, string|null instance
  • int playerid: the id of the player who casts the spell.
  • string|null instance: the item instance from Daedalus scripts.