Files
adventureland/design/levels.py
T

267 lines
6.0 KiB
Python

# xp=200
# levels={}
# if 1:
# if 1:
# if 1:
# for i in range(200):
# new_xp=xp
# while new_xp>=100: new_xp/=10
# new_xp=int(new_xp)
# while new_xp*10<=xp: new_xp*=10
# xp=new_xp
# #self.response.out.write("level %s %sxp %s worms %s 40K's<br />"%((i+1),xp,xp/200.0,xp/40000.0))
# skill=1; level=i+1
# if level>=80: skill=4
# elif level>=60: skill=3
# elif level>=40: skill=2
# levels[i+1]={"xp":xp,"point":skill}
# xp*=1.25
# json_output=levels
#NEW ONE:
# xp=200
# levels={}
# if 1:
# if 1:
# if 1:
# for i in range(200):
# new_xp=xp
# while new_xp>=100: new_xp/=10
# new_xp=int(new_xp)
# while new_xp*10<=xp: new_xp*=10
# xp=new_xp
# self.response.out.write("level %s %sxp %s worms %s 40K's<br />"%((i+1),to_pretty_num(xp),xp/200.0,xp/40000.0))
# level=i+1
# levels[i+1]=xp
# if level<60: xp*=1.25
# elif level<80: xp*=1.2
# elif level<100: xp*=1.1
# else: xp*=1.08
# json_output=levels
#NEW NEW ONE: [07/10/16]
# xp=200
# levels={}
# if 1:
# if 1:
# if 1:
# for i in range(200):
# new_xp=xp
# while new_xp>=100: new_xp/=10
# new_xp=int(new_xp)
# while new_xp*10<=xp: new_xp*=10
# xp=new_xp
# self.response.out.write("level %s %sxp %s worms %s 40K's<br />"%((i+1),to_pretty_num(xp),xp/200.0,xp/40000.0))
# level=i+1
# levels[i+1]=xp
# if level<60: xp*=1.25
# elif level<75: xp*=1.225
# elif level<80: xp*=1.2
# elif level<90: xp*=1.275
# elif level<100: xp*=1.375
# else: xp*=1.1
# json_output=levels
levels={
"1": 200,
"2": 250,
"3": 310,
"4": 380,
"5": 470,
"6": 580,
"7": 720,
"8": 900,
"9": 1100,
"10": 1300,
"11": 1600,
"12": 2000,
"13": 2500,
"14": 3100,
"15": 3800,
"16": 4700,
"17": 5800,
"18": 7200,
"19": 9000,
"20": 11000,
"21": 13000,
"22": 16000,
"23": 20000,
"24": 25000,
"25": 31000,
"26": 38000,
"27": 47000,
"28": 58000,
"29": 72000,
"30": 90000,
"31": 110000,
"32": 130000,
"33": 160000,
"34": 200000,
"35": 250000,
"36": 310000,
"37": 380000,
"38": 470000,
"39": 580000,
"40": 720000,
"41": 900000,
"42": 1100000,
"43": 1300000,
"44": 1600000,
"45": 2000000,
"46": 2500000,
"47": 3100000,
"48": 3800000,
"49": 4700000,
"50": 5800000,
"51": 7200000,
"52": 9000000,
"53": 11000000,
"54": 13000000,
"55": 16000000,
"56": 20000000,
"57": 25000000,
"58": 31000000,
"59": 38000000,
"60": 47000000,
"61": 57000000,
"62": 69000000,
"63": 84000000,
"64": 100000000,
"65": 120000000,
"66": 140000000,
"67": 170000000,
"68": 200000000,
"69": 240000000,
"70": 290000000,
"71": 350000000,
"72": 420000000,
"73": 510000000,
"74": 620000000,
"75": 750000000,
"76": 900000000,
"77": 1000000000,
"78": 1200000000,
"79": 1400000000,
"80": 1600000000,
"81": 2000000000,
"82": 2500000000,
"83": 3100000000,
"84": 3900000000,
"85": 4900000000,
"86": 6200000000,
"87": 7900000000,
"88": 10000000000,
"89": 12000000000,
"90": 15000000000,
"91": 20000000000,
"92": 27000000000,
"93": 37000000000,
"94": 50000000000,
"95": 68000000000,
"96": 93000000000,
"97": 120000000000,
"98": 160000000000,
"99": 220000000000,
"100": 300000000000,
"101": 330000000000,
"102": 360000000000,
"103": 390000000000,
"104": 420000000000,
"105": 460000000000,
"106": 500000000000,
"107": 550000000000,
"108": 600000000000,
"109": 660000000000,
"110": 720000000000,
"111": 790000000000,
"112": 860000000000,
"113": 940000000000,
"114": 1000000000000,
"115": 1100000000000,
"116": 1200000000000,
"117": 1300000000000,
"118": 1400000000000,
"119": 1500000000000,
"120": 1600000000000,
"121": 1700000000000,
"122": 1800000000000,
"123": 1900000000000,
"124": 2000000000000,
"125": 2200000000000,
"126": 2400000000000,
"127": 2600000000000,
"128": 2800000000000,
"129": 3000000000000,
"130": 3300000000000,
"131": 3600000000000,
"132": 3900000000000,
"133": 4200000000000,
"134": 4600000000000,
"135": 5000000000000,
"136": 5500000000000,
"137": 6000000000000,
"138": 6600000000000,
"139": 7200000000000,
"140": 7900000000000,
"141": 8600000000000,
"142": 9400000000000,
"143": 10000000000000,
"144": 11000000000000,
"145": 12000000000000,
"146": 13000000000000,
"147": 14000000000000,
"148": 15000000000000,
"149": 16000000000000,
"150": 17000000000000,
"151": 18000000000000,
"152": 19000000000000,
"153": 20000000000000,
"154": 22000000000000,
"155": 24000000000000,
"156": 26000000000000,
"157": 28000000000000,
"158": 30000000000000,
"159": 33000000000000,
"160": 36000000000000,
"161": 39000000000000,
"162": 42000000000000,
"163": 46000000000000,
"164": 50000000000000,
"165": 55000000000000,
"166": 60000000000000,
"167": 66000000000000,
"168": 72000000000000,
"169": 79000000000000,
"170": 86000000000000,
"171": 94000000000000,
"172": 100000000000000,
"173": 110000000000000,
"174": 120000000000000,
"175": 130000000000000,
"176": 140000000000000,
"177": 150000000000000,
"178": 160000000000000,
"179": 170000000000000,
"180": 180000000000000,
"181": 190000000000000,
"182": 200000000000000,
"183": 220000000000000,
"184": 240000000000000,
"185": 260000000000000,
"186": 280000000000000,
"187": 300000000000000,
"188": 330000000000000,
"189": 360000000000000,
"190": 390000000000000,
"191": 420000000000000,
"192": 460000000000000,
"193": 500000000000000,
"194": 550000000000000,
"195": 600000000000000,
"196": 660000000000000,
"197": 720000000000000,
"198": 790000000000000,
"199": 860000000000000,
"200": 940000000000000
}