HiddenTradition_PRC8/_module/nss/isnewplayer.nss

16 lines
457 B
Plaintext
Raw Normal View History

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
}