SHARE
TWEET

Untitled

a guest Jun 25th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top