Advertisement
Kagalive

tapwizcalcs.py

Jan 17th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.71 KB | None | 0 0
  1. #Health
  2. file = open("values.txt","w")
  3.  
  4. hlt = 100
  5. dmg = 1.00
  6. rdc = 1.00
  7. rsp = 1.00
  8. for x in range(1000):
  9.     hlt = hlt*1.25
  10.     dmg = dmg*1.20
  11.     rdc = rdc*1.25
  12.     rsp = rsp*1.10
  13.     file.write("-----------------------------------------------------------------------------------------------------")
  14.     file.write("\n")
  15.     file.write("Level: "+str(x+1))
  16.     file.write(" |Health: "+str(hlt))
  17.     file.write(" |Spell Damage: "+str(dmg))
  18.     file.write(" |Research Discount: "+str(rdc))
  19.     file.write(" |Research Speed:"+str(rsp))
  20.     file.write("\n")
  21.     file.write("-----------------------------------------------------------------------------------------------------")
  22.     file.write("\n")
  23.  
  24.  
  25. file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement