Commit 04cbcfb8 by BellCodeEditor

save project

parent c615cb69
Showing with 10 additions and 2 deletions
...@@ -42,4 +42,12 @@ print("-"*30) ...@@ -42,4 +42,12 @@ print("-"*30)
print(" 战斗开始") print(" 战斗开始")
while True: while True:
print("-"*30) print("-"*30)
a=input("请输入技能1(攻击)/(2治疗):") a=input("请输入技能1(攻击)/(2治疗):")
\ No newline at end of file if a=="1":
houyi.combat(yase)
elif a=="2":
houyi.cure()
elif a=="q":
print("游戏借宿")
else:
print("请重新输入")
\ 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