function readySpell (server-side)
Available since version: 0.3.0
This function will cause player/npc to ready equipped spell.
Declaration
void readySpell(int id, int slotId, int manaInvested)
Parameters
intid: the player id.intslotId: the equipped spell slotId in range <0, 6>.intmanaInvested: the spell cast cost in mana points.