PRC8_fork/trunk/scripts/prc_ai_mob_spell.nss

8 lines
228 B
Plaintext
Raw Normal View History

void main()
{
if(GetIsObjectValid(GetMaster(OBJECT_SELF)))
ExecuteScript("x2_hen_spell", OBJECT_SELF);
else
ExecuteScript("x2_def_spell", OBJECT_SELF);
ExecuteScript("prc_npc_spellat", OBJECT_SELF);
}