Amon_PRC8/_removed/hench/nw_ch_action_17.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

18 lines
562 B
Plaintext

// * Henchman levels up
#include "hench_i0_henlvl"
#include "hench_i0_equip"
void main()
{
ExecuteScript("henchauldar",OBJECT_SELF);
SetAssociateState(NW_ASC_IS_BUSY);
object oNew = DoLevelUp(GetPCSpeaker());
if (GetIsObjectValid(oNew))
{
AssignCommand(oNew,DelayCommand(5., HenchEquipDefaultWeapons(oNew, TRUE)));
// Auldar: Sometimes after levelup, the henchman is still "Busy" and requires a
// command to wake them.
AssignCommand(oNew,DelayCommand(7.0, SetAssociateState(NW_ASC_IS_BUSY, FALSE)));
}
}