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.
26 lines
805 B
Plaintext
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);
|
|
}
|