Lankhmar_PRC8/_module/nss/hench_upshadowda.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

24 lines
520 B
Plaintext

//Written by kookoo 8-13-8
void main()
{
object oPC = GetPCSpeaker();
//This will ensure that the hench levels only themselves up.
object oTarget = OBJECT_SELF;
int nInt;
if (GetIsObjectValid(oTarget))
{
//We only want to level up one level at a time.
nInt = 1;
while (nInt>0)
{
//level up by class. You can look in constants
//over to the right and find prestige classes
//to level up as well.
LevelUpHenchman(oTarget, CLASS_TYPE_SHADOWDANCER);
nInt--;
}
}
}