Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. #liam V
  2. #skeleton
  3. #9/19/19
  4.  
  5.  
  6. inventory = ["basic sword", "twin daggers", "giant hammer", "steel fists", "thornmail", "thornmail2", "thornmail3", "thornmail4", "healthpot1", "healthpot2", "healthpot3", "healthpot4" ]
  7. print(inventory)
  8. lvl = "level"
  9. exp = "exp"
  10. stats2 = {"exp", "level"}
  11.  
  12.  
  13. sarounk = [ 'exp', 0, 'level', 1, 'attk', 12, 'def', 7, 'spirit', 8]
  14. cheng = [ 'exp', 0, 'level', 1, 'attk', 8, 'def', 4, 'spirit', 6 ]
  15. edzra = [ 'exp', 0, 'level',1, 'attk', 9, 'def', 4, 'spirit', 14]
  16. gordan = [ 'exp', 0, 'level',1, 'attk', 9, 'def',6, 'spirit', 4]
  17.  
  18.  
  19.  
  20. def levelingup(lvl, exp):
  21. if exp(int) >= 400:
  22. lvl += 1
  23. exp =0
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. def displayintro(message):
  34. print(message)
  35. return message
  36.  
  37.  
  38.  
  39.  
  40.  
  41. def main():
  42.  
  43. story = "You're currently in the 1st city. You objective is to make it through all 5 cities to reach the base"
  44. displayintro(story)
  45. levelingup(lvl, exp)
  46.  
  47.  
  48.  
  49.  
  50.  
  51. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement