Commit 32e6441b by BellCodeEditor

save project

parent 7dba9cd7
Showing with 5 additions and 4 deletions
......@@ -47,12 +47,13 @@ while 1:
print('-'*30)
choice=input('选择技能(1:攻击;2:治疗)')
if choice=='1':
houyi.combat(yase)
if choice=='2':
houyi.cure()
if choice=='q':
print('游戏结束')
break
elif choice=='1':
houyi.combat(yase)
elif choice=='2':
houyi.cure()
else:
print('无效输入')
continue
......
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