RATDOG/_module/nss/x2_def_heartbeat.nss
Jaysyn904 64c913bf07 Area Cleanup. Added CEP3 Skyboxes
Area Cleanup.  Added CEP3 Skyboxes.  Beholder AI fix.  NPC & Mook pass.  Added QN OnHit script.  Add XP for Traps system.
2021-12-31 01:45:43 -05:00

24 lines
729 B
Plaintext

//::///////////////////////////////////////////////
//:: Name x2_def_heartbeat
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Default Heartbeat script
*/
//:://////////////////////////////////////////////
//:: Created By: Keith Warner
//:: Created On: June 11/03
//:://////////////////////////////////////////////
void main()
{
if ((!GetIsInCombat(OBJECT_SELF) && (GetItemInSlot(INVENTORY_SLOT_CHEST) == OBJECT_INVALID)))
DelayCommand(0.5f, ActionEquipMostEffectiveArmor());
//:: Execute the default NPC OnHeartbeat script
ExecuteScript("nw_c2_default1", OBJECT_SELF);
//:: Execute the PRC NPC OnHeartbeat script
ExecuteScript("prc_npc_hb", OBJECT_SELF);
}