Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Health
- file = open("values.txt","w")
- hlt = 100
- dmg = 1.00
- rdc = 1.00
- rsp = 1.00
- for x in range(1000):
- hlt = hlt*1.25
- dmg = dmg*1.20
- rdc = rdc*1.25
- rsp = rsp*1.10
- file.write("-----------------------------------------------------------------------------------------------------")
- file.write("\n")
- file.write("Level: "+str(x+1))
- file.write(" |Health: "+str(hlt))
- file.write(" |Spell Damage: "+str(dmg))
- file.write(" |Research Discount: "+str(rdc))
- file.write(" |Research Speed:"+str(rsp))
- file.write("\n")
- file.write("-----------------------------------------------------------------------------------------------------")
- file.write("\n")
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement