RATDOG/_module/nss/ra_rnd_train_hb.nss
Jaysyn904 8989a30fc8 Tweaked & Bugfixed "Spider's Captive" quest
Tweaked & Bugfixed "Spider's Captive" quest.  Breathed a little life into the Warrior's Guild.  Changed several quest rewards to be split among the party.  Full compile.
2022-11-20 00:21:57 -05:00

26 lines
805 B
Plaintext

//::///////////////////////////////////////////////
//:: Name ra_rnd_train_hb
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Warrior Guild Trainee Heartbeat script
*/
//:://////////////////////////////////////////////
void main()
{
if ((!GetIsInCombat(OBJECT_SELF) && (GetItemInSlot(INVENTORY_SLOT_CHEST) == OBJECT_INVALID)))
DelayCommand(0.5f, ActionEquipMostEffectiveArmor());
//:: Attack the Combat Dummy
AssignCommand(OBJECT_SELF, ClearAllActions());
AssignCommand(OBJECT_SELF, ActionAttack(GetNearestObjectByTag("RA_PLC_CMB_DUMMY")));
//:: Execute the default NPC OnHeartbeat script
ExecuteScript("nw_c2_default1", OBJECT_SELF);
//:: Execute the PRC NPC OnHeartbeat script
ExecuteScript("prc_npc_hb", OBJECT_SELF);
}