16 lines
457 B
Plaintext
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
|
|
}
|