EpicValor 07f4ebed49 Added henchman rental
Many areas, items, and creatures were adjusted for balance and aesthetics.
2023-08-24 15:20:50 -05:00

32 lines
783 B
Plaintext

//:://////////////////////////////////////////////////
//:: 69_hench_hire
//:: Copyright (c) 2002 Floodgate Entertainment
//:://////////////////////////////////////////////////
/*
Actions taken when a henchman rejoins his/her current
master.
*/
//:://////////////////////////////////////////////////
//:: Created By: 69MEH69
//:: Created On: Sep2004
//:://////////////////////////////////////////////////
#include "69_hench_lib"
void main()
{
object oPC = GetPCSpeaker();
int nAutoLevelup = GetLocalInt(GetModule(), "nAutoLevelup");
HireHenchman69(oPC);
if(nAutoLevelup == 1 && GetCanLevelUp69(oPC, OBJECT_SELF))
{
DelayCommand(1.0, LevelUpHenchman69(OBJECT_SELF, oPC, 1));
}
DelayCommand(10.5, ExecuteScript("_golemstats", OBJECT_SELF));
}