Jaysyn904 d5e54b1f5d Fixed XP exploit
Fixed XP exploit.  Full compile.  Updated release archive.
2024-10-05 22:02:39 -04:00

16 lines
457 B
Plaintext

int StartingConditional()
{
object oPC = GetPCSpeaker(); // Gets the player who initiated the conversation
int nXP = GetXP(oPC); // Get the player's current experience points
int nLevel = GetHitDice(oPC); // Get the player's level (Hit Dice)
// Return TRUE if the player has less than 1500 XP or is under 1st level
if (nXP < 1500 || nLevel < 1)
{
return TRUE;
}
return FALSE; // Otherwise, return FALSE
}