Commit 8e077f88 by BellCodeEditor

auto save

parent 9773a179
Showing with 6 additions and 6 deletions
...@@ -47,15 +47,15 @@ while True: ...@@ -47,15 +47,15 @@ while True:
choice=input("请选择释放英雄技能(1攻击/2治疗):") choice=input("请选择释放英雄技能(1攻击/2治疗):")
if choice=="q": if choice=="q":
print("战斗结束") print("战斗结束")
elif choice == "1" elif choice == "1":
houyi.combat(yase) houyi.combat(yase)
elif choice == "2" elif choice == "2":
houyi.cure() houyi.cure()
else: else:
print("请重新输入") print("请重新输入")
continue continue
stattus=random.randoint(1,3) stattus=random.randint(1,3)
if stattus=1: if stattus=='1':
yase.cure() yase.cure()
else: else:
yase.combat(houyi) yase.combat(houyi)
......
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