Commit b0d4fa4f by BellCodeEditor

auto save

parent beb166ed
Showing with 3 additions and 3 deletions
...@@ -25,7 +25,7 @@ class Hero(object): ...@@ -25,7 +25,7 @@ class Hero(object):
info3 = enemy.name+"阵亡,游戏结束" info3 = enemy.name+"阵亡,游戏结束"
info = info1+info2+info3 info = info1+info2+info3
print(info) print(info)
print('你干嘛啊~~') print('你是傻逼啊~~')
exit() exit()
class Player(Hero): class Player(Hero):
...@@ -61,8 +61,8 @@ while True: ...@@ -61,8 +61,8 @@ while True:
else: else:
print('重输!') print('重输!')
continue continue
b=random.randint(1,3) b=random.randint(1,2)
if b==3: if b==1:
yase.cure() yase.cure()
else: else:
yase.combat(houyi) yase.combat(houyi)
......
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