generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload
This commit is contained in:
18
_mod/_module/nss/gs_a_startlv.nss
Normal file
18
_mod/_module/nss/gs_a_startlv.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
// gs_a_startlv - Set Starting Level
|
||||
void main()
|
||||
{
|
||||
object oMod=GetModule();
|
||||
int nParm=GetLocalInt(GetPCSpeaker(),"nParm");
|
||||
int nBaseXP=0;
|
||||
int nLevelStart=1;
|
||||
if (nParm==1) { nBaseXP=3000; nLevelStart=3; }
|
||||
else if (nParm==2) { nBaseXP=10000; nLevelStart=5; }
|
||||
else if (nParm==3) { nBaseXP=21000; nLevelStart=7; }
|
||||
else if (nParm==4) { nBaseXP=36000; nLevelStart=9; }
|
||||
else if (nParm==5) { nBaseXP=55000; nLevelStart=11; }
|
||||
else if (nParm==6) { nBaseXP=78000; nLevelStart=13; }
|
||||
else if (nParm==7) { nBaseXP=105000; nLevelStart=15; }
|
||||
else if (nParm==8) { nBaseXP=190000; nLevelStart=20; }
|
||||
SetLocalInt(oMod,"nGSStartingXP",nBaseXP);
|
||||
SetLocalInt(oMod,"nGSStartingLevel",nLevelStart);
|
||||
}
|
||||
Reference in New Issue
Block a user