Skip to content

function npcSpellCast (server-side)

Available since version: 0.3.0

Note

Required equiped and setup magic.

This function enqueues spell cast action to the remote NPC action queue.

Declaration

void npcSpellCast(int attacker_id, int enemy_id)

Parameters

  • int attacker_id: the remote npc id.
  • int enemy_id: the remote npc or player id.