Removed useless XP reward text

Removed useless XP reward text.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-10-21 22:58:02 -04:00
parent 6685b7ca0d
commit d9e8a25bbf
17 changed files with 2 additions and 26 deletions

View File

@@ -41,19 +41,6 @@ Relevel(oPC);
//you should double check this yourself to verify it.
///////////////////////////////////////////////////////////////////////////////
void SetTlkOverrideForMaximumLevel(object oPC)
{
int nLevel = GetHitDice(oPC);
if (nLevel < 40)
{
NWNX_Player_SetTlkOverride(oPC, 315, "");
}
else
{
NWNX_Player_SetTlkOverride(oPC, 315, "Next Level: " + IntToString((nLevel + 1) * nLevel * 500) + "\n");
}
}
//This function Take1Level(oTarget); will take 1 level from the Target.
//It set's thier xp to the base required XP for the next lowest level.
@@ -129,7 +116,6 @@ void Take1Level(object oTarget)
SetXP(oTarget, nXP);
SetTlkOverrideForMaximumLevel(oTarget);
}
//The Function Below Give1Level(oTarget); gives the Target one level.
@@ -230,8 +216,6 @@ void Relevel(object oTarget)
TakeGoldFromCreature(nGold, oTarget, TRUE);
SetXP(oTarget, 0);
DelayCommand(1.0, GiveXPToCreature(oTarget, gXP));
DelayCommand(1.3, SetTlkOverrideForMaximumLevel(oTarget));
}
else
{
@@ -249,7 +233,6 @@ void Relevel1(object oTarget)
int gXP = GetLocalInt(oTarget, "pc_exact_xp");
Take1Level(oTarget);
DelayCommand(1.0, SetXP(oTarget, gXP));
DelayCommand(1.3, SetTlkOverrideForMaximumLevel(oTarget));
}
//The Function Relevel5(oTarget) will take 5 levels from the Target and give