Removed JAI, added CODI AI. Fixed encounters & NPCs in Forest of Hope Central. Fixed Outcast store not opening. Added Druid Grove & associated NPCS.
34 lines
987 B
Plaintext
34 lines
987 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name ra_ai_ondamaged
|
|
//:: Copyright (c) 2022 Project RATDOG
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
NPC OnDamaged 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 OnDamaged script
|
|
ExecuteScript("no_ai_dam", OBJECT_SELF);
|
|
|
|
//:: Execute the Default NPC OnDamaged script
|
|
//ExecuteScript("nw_c2_default6", OBJECT_SELF);
|
|
|
|
//:: Execute the PRC NPC OnDamaged script
|
|
ExecuteScript("prc_npc_damaged", OBJECT_SELF);
|
|
}
|