Skip to content

function unreadySpell (client-side)

Available since version: 0.2

This function will cause hero/npc to unready active spell.
It works almost the same as removeWeapon, but also stops hero if he's moving before hiding the active spell.

Declaration

void unreadySpell(int id)

Parameters

  • int id: the player id.