UW2_PRC8/_module/nss/istoopoor.nss

14 lines
225 B
Plaintext
Raw Permalink Normal View History

2023-09-25 20:24:01 -04:00
int StartingConditional()
{
object oPC = GetPCSpeaker();
int oLvl;
int oGold;
oLvl = GetHitDice(oPC);
oGold = oLvl * 1000;
//If the player has enough gold, then stop..
if (GetGold(oPC) > oGold) return FALSE;
return TRUE;
}