26 lines
351 B
Plaintext
26 lines
351 B
Plaintext
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC;
|
||
|
int iLevel;
|
||
|
int iGold;
|
||
|
int iPCGold;
|
||
|
int iResult;
|
||
|
|
||
|
oPC = GetPCSpeaker();
|
||
|
iLevel = GetHitDice(oPC);
|
||
|
|
||
|
if (iLevel < 11)
|
||
|
iGold = 250;
|
||
|
else if (iLevel < 21)
|
||
|
iGold = 500;
|
||
|
else if (iLevel < 31)
|
||
|
iGold = 750;
|
||
|
else
|
||
|
iGold = 1000;
|
||
|
|
||
|
SetCustomToken(200,IntToString(iGold));
|
||
|
|
||
|
iResult = FALSE;
|
||
|
return iResult;
|
||
|
}
|