//:://///////////////////////////////////////////// //:: Name ra_ai_onspelled //:: Copyright (c) 2022 Project RATDOG //::////////////////////////////////////////////// /* NPC OnSpellCastAt event script caller to run CODI AI & PRC events. */ //::////////////////////////////////////////////// //:: Created By: Jaysyn //:: Created On: 20221201 //::////////////////////////////////////////////// void main() { //-------------------------------------------------------------------------- // GZ: 2003-10-16 // Make Plot Creatures Ignore Attacks //-------------------------------------------------------------------------- if (GetPlotFlag(OBJECT_SELF)) { return; } //:: Execute the CODI AI NPC OnSpellCastAt script ExecuteScript("no_ai_spt", OBJECT_SELF); //:: Execute the Default NPC OnSpellCastAt script //ExecuteScript("nw_c2_defaultb", OBJECT_SELF); //:: Execute the PRC NPC OnSpellCastAt script ExecuteScript("prc_npc_spellat", OBJECT_SELF); }