Removed JAI
Removed JAI, added CODI AI. Fixed encounters & NPCs in Forest of Hope Central. Fixed Outcast store not opening. Added Druid Grove & associated NPCS.
This commit is contained in:
34
_module/nss/ra_ai_onspelled.nss
Normal file
34
_module/nss/ra_ai_onspelled.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
Reference in New Issue
Block a user