PRC8/trunk/scripts/prc_ai_sum_heart.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

15 lines
503 B
Plaintext

#include "inc_prc_npc"
#include "inc_eventhook"
void main()
{
//Any ideas why this is here? It messes up the Create Undead Uncontrolled switch
//if (GetMaster()== OBJECT_INVALID) DestroyObject(OBJECT_SELF);
ExecuteScript("nw_ch_ac1", OBJECT_SELF);
ExecuteScript("prc_npc_hb", OBJECT_SELF);
//NPC substiture for OnEquip
DoEquipTest();
// Execute scripts hooked to this event for the NPC triggering it
ExecuteAllScriptsHookedToEvent(OBJECT_SELF, EVENT_NPC_ONHEARTBEAT);
}