function attackPlayerMagic (client-side)
Deprecated since version: 0.3.2
Note
The victim will receive damage calculated damage by the game.
This function is used to force npc to magic attack the other npc.
Declaration
bool attackPlayerMagic(int attackerId, int victimId, string instance)
Parameters
intattackerId: the attacker id.intvictimId: the victim id.stringinstance: the spell item instance from Daedalus scripts.
Returns bool
true if attack was successfully executed, otherwise false.