Commit 850cf804 by BellCodeEditor

save project

parent c9deb31a
Showing with 11 additions and 0 deletions
......@@ -43,6 +43,17 @@ print(' 战斗开始')
while True:
print('-' * 30)
choice = input("请选择技能(1攻击/2治疗)")
if choice == "q":
print("游戏退出")
break
elif choice == "1" :
houyi.combat(yase)
elif choice =="2":
houyi.cure()
else :
print("重新选择有效技能")
#houyi.combat(yase)
#yase.combat(houyi)
#houyi.cure()
......
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