Commit 90a04e94 by BellCodeEditor

save project

parent cd5a5d9d
Showing with 3 additions and 3 deletions
...@@ -44,12 +44,12 @@ print(' 战斗开始') ...@@ -44,12 +44,12 @@ print(' 战斗开始')
while True: while True:
print("-"*30) print("-"*30)
choice = input('请选择释放英雄技能(1攻击/2治疗):') choice = input('请选择释放英雄技能(1攻击/2治疗):')
if chioce=='q'(): if choice =='q'():
print('游戏结束') print('游戏结束')
break break
elif chioce == "1": elif choice == "1":
houyi.combat(yase) houyi.combat(yase)
elif chioce == "2": elif choice == "2":
houyi.cure() houyi.cure()
else: else:
print('重新输入1或者2') print('重新输入1或者2')
......
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