Guest User

FREE PORN VIDEO

a guest
Dec 30th, 2021
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.94 KB | None | 0 0
  1. class Character:
  2.     drop = 0, 0
  3.     xp_value = 0
  4.     def __init__(self, name, health, strenght, defense, stamina, agility, magic):
  5.         self.name = name
  6.         self.health = health
  7.         self.strength = strenght
  8.         self.defense = defense
  9.         self.stamina = stamina
  10.         self.agility = agility
  11.         self.magic = magic
  12.  
  13. warrior = Character("Warrior 🪓", 100, 7, 5, 4, 2, 1)
  14. tanker = Character("Tanker 🛡️", 100, 2, 8, 4, 1, 1)
  15. thief = Character("Thief 🗡️", 100, 3, 2, 5, 7, 1)
  16. archer = Character("Archer 🏹", 100, 2, 2, 4, 8, 1)
  17. mage = Character("Mage ✨", 100, 1, 3, 3, 1, 7)
  18. healer = Character("Healer ❤️", 100, 1, 4, 5, 2, 6)
  19. assassin = Character("Assassin 🔪", 100, 8, 3, 4, 8, 1)
  20. goblin = Goblin("Goblin 👺", 50, 3, 3, 2, 5, 1)
  21.  
  22.  
  23. def char_select():
  24.     char_decision = 'n'
  25.     while char_decision.lower() != 'y':
  26.         classes = [0,warrior, tanker, thief, archer, mage, healer, assassin]
  27.         char_choose = int(input('What class do you want to choose? \n1. Warrior \n2. Tanker \n'
  28.                             '3. Thief \n4. Archer \n5. Mage \n6. Healer \n7. Assassin \n'))
  29.         if char_choose > 7:
  30.             os.system("cls")
  31.             print('You chose the wrong value!')
  32.         if char_choose <= 7:
  33.             os.system("cls")
  34.             print('Selected class:')
  35.             classes[char_choose].printstats()
  36.             char_decision = input((f'Do you want to play as {classes[char_choose].name}\n'))
  37.             os.system("cls")
  38.     print("Okeeeeeej lets go")
  39. char_select()
  40. def damage_ratio(char_choose):
  41.     core = 5 + (char_choose.strength * 2) + (char_choose.magic * 2) + (char_choose.agility * 1) - (goblin.defense * 2)
  42.     crit_chance = ri(0,1)
  43.     if crit_chance == 0:
  44.         print("Health Goblin: " + str(goblin.health - core))
  45.     if crit_chance == 1:
  46.         core = core * 2
  47.         print("Health Goblin: " + str(goblin.health - core))
  48. damage_ratio(char_choose)
  49.  
Add Comment
Please, Sign In to add comment