Removed useless XP reward text
Removed useless XP reward text. Full compile. Updated release archive.
This commit is contained in:
@@ -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
|
||||
|
@@ -368,7 +368,7 @@ void GiveXP(object oKiller, int nXPToGive, float fKillerBonus, int nDiff, int nP
|
||||
{
|
||||
if (FLOATING_TEXT)
|
||||
{
|
||||
DelayCommand(0.1, FloatingTextStringOnCreature(IntToString(nXPToGive)+"XP", oParty, FALSE));
|
||||
//DelayCommand(0.1, FloatingTextStringOnCreature(IntToString(nXPToGive)+"XP", oParty, FALSE));
|
||||
}
|
||||
if (REWARD_GP)
|
||||
{
|
||||
|
Reference in New Issue
Block a user