Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. class Battle():
  2. Battle_Option = input("What will you do? n W.Attack n E.Special
  3. Move n R.Guard n T.Wait").upper()
  4. if Battle_Option == "E":
  5. print("You pick up your magical spear and yes")
  6.  
  7. class Wizard_Battle(Battle):
  8. def __init__(self):
  9. Battle.__init__(self)
  10. def Yourturn(self):
  11. global Battle_Option
  12. if Battle_Option == "E":
  13. print("You wizarded")
  14.  
  15. class Wizard_Battle(Battle):
  16. def __init__(self):
  17. Battle.__init__(self)
  18. def Yourturn(self):
  19. if Battle.Battle_Option == "E":
  20. print("You wizarded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement