PRC8_fork/nwn/trunk/scripts/prc_ai_sum_heart.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -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);
}