Commit 0cf4adde by BellCodeEditor

save project

parent 36ed6e03
Showing with 14 additions and 2 deletions
......@@ -49,10 +49,21 @@ while True:
a=input("请选择技能:1攻击/2治疗")
if a == "1":
houyi.combat(yase)
if a == "2":
elif a == "2":
cure(houyi)
if a == "q":
elif a == "q":
print("游戏退出")
break
else:
print("请重新输入")
continue
num=random.randint(1,3)
if num == "1" or "2":
yase.combat(houyi)
elif num == "3":
cure(yase)
\ 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