RATDOG/_module/nss/ds_ai_attacked.nss
Jaysyn904 e4a37cd868 Added creatures & models
Added creatures, portraits & models in support of Horsefly Swamp Update.
2023-08-12 00:55:47 -04:00

35 lines
991 B
Plaintext

//::///////////////////////////////////////////////
//:: Name ds_ai_attacked
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
NPC OnAttacked 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 OnAttacked script
ExecuteScript("no_ai_atk", OBJECT_SELF);
//:: Execute the Default NPC OnAttacked script
//ExecuteScript("nw_c2_default5", OBJECT_SELF);
//:: Execute the PRC NPC OnAttacked script
ExecuteScript("prc_npc_physatt", OBJECT_SELF);
}