Skip to content

function readySpellQueued (client-side)

Available since version: 0.3.2

This function will push ready spell action on hero/npc action queue.

Declaration

void readySpellQueued(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.