Commit 254a6db4 by BellCodeEditor

save project

parent b05bcbc2
Showing with 5 additions and 3 deletions
...@@ -25,7 +25,9 @@ class Hero(object): ...@@ -25,7 +25,9 @@ class Hero(object):
info3 = enemy.name+"阵亡,游戏结束" info3 = enemy.name+"阵亡,游戏结束"
info = info1+info2+info3 info = info1+info2+info3
print(info) print(info)
print('你干嘛啊~~') print('victory!')
print('唱跳rap篮球')
print('鸡你太美')
exit() exit()
class Player(Hero): class Player(Hero):
...@@ -61,8 +63,8 @@ while True: ...@@ -61,8 +63,8 @@ while True:
else: else:
print('重输!') print('重输!')
continue continue
b=random.randint(1,2) b=random.randint(1,3)
if b==2: if b==3:
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