Commit 04cbcfb8 by BellCodeEditor

save project

parent c615cb69
Showing with 9 additions and 0 deletions
...@@ -43,3 +43,11 @@ print(" 战斗开始") ...@@ -43,3 +43,11 @@ print(" 战斗开始")
while True: while True:
print("-"*30) print("-"*30)
a=input("请输入技能1(攻击)/(2治疗):") a=input("请输入技能1(攻击)/(2治疗):")
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