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