Commit fc954414 by BellCodeEditor

save project

parent d9e076d2
Showing with 2 additions and 1 deletions
...@@ -27,7 +27,6 @@ class Hero(object): ...@@ -27,7 +27,6 @@ class Hero(object):
print(info) print(info)
print('你干嘛啊~~') print('你干嘛啊~~')
exit() exit()
class Player(Hero): class Player(Hero):
def __init__(self,hero_type,name): def __init__(self,hero_type,name):
super().__init__(name) super().__init__(name)
...@@ -65,4 +64,6 @@ while True: ...@@ -65,4 +64,6 @@ while True:
num =random.randint(1,3) num =random.randint(1,3)
if num==1: if num==1:
yase.cure() yase.cure()
else:
yase.combat(yase)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment