Added henchman rental
Many areas, items, and creatures were adjusted for balance and aesthetics.
This commit is contained in:
31
_module/nss/69_hench_hire.nss
Normal file
31
_module/nss/69_hench_hire.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: 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));
|
||||
|
||||
}
|
Reference in New Issue
Block a user