HoS_PRC8/_mod/_module/nss/gs_a_startlv.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

19 lines
732 B
Plaintext

// 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);
}