Skip to content

function readySpell (client-side)

Available since version: 0.2

This function will cause hero/npc to ready equipped spell.


void readySpell(int id, int slotId, int manaInvested)


  • int id: the player id.
  • int slotId: the equipped spell slotId in range <0, 6>.
  • int manaInvested: the spell cast cost in mana points.