function attackPlayerMagic (client-side)
Available since version: 0.1.3
The victim will receive damage calculated damage by the game.
This function is used to force npc to magic attack the other npc.
bool attackPlayerMagic(int attackerId, int victimId, int spellId)
intattackerId: the attacker id.
intvictimId: the victim id.
intspellId: the id of the spell item.
true if attack was successfully executed, otherwise