Commit 570d31ac by BellCodeEditor

save project

parent b8525428
Showing with 6 additions and 1 deletions
......@@ -53,7 +53,11 @@ print("战斗开始")
while True:
print('-'*30)
choice = input("请选择英雄要释放的技能(1攻击/2治疗):")
if choice == "q"
print('游戏结束')
break
if int(a)==1:
houyi.combat(yase)
......@@ -71,5 +75,5 @@ while True:
else:
yase.combat(houyi)
\ No newline at end of file
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