Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
26
_module/nss/en4_healer_var.nss
Normal file
26
_module/nss/en4_healer_var.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC;
|
||||
int iLevel;
|
||||
int iGold;
|
||||
int iPCGold;
|
||||
int iResult;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
iLevel = GetLocalInt(GetArea(OBJECT_SELF),"MinimumLevel");
|
||||
if (iLevel == 0)
|
||||
iGold = 100;
|
||||
else 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;
|
||||
}
|
Reference in New Issue
Block a user