function getPlayerSpell (server-side)
Available since version: 0.1.10
This function will get the equipped player/npc spell.
Declaration
string|null getPlayerSpell(int id, int slotId)
Parameters
intid: the player id.intslotId: the equipped slotId in range <0, 6>.
Returns string|null
the item instance from Daedalus scripts or null.