PoA_PRC8/_module/nss/codi_spellcast.nss

34 lines
968 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: Name codi_spellcast
//::
//:://////////////////////////////////////////////
/*
NPC OnSpellCastAt event script caller to run
CODI AI & PRC events.
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 20240331
//:://////////////////////////////////////////////
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);
}