Commit 4976ffc5 by BellCodeEditor

save project

parent 5011bc24
Showing with 6 additions and 5 deletions
...@@ -47,15 +47,15 @@ while True: ...@@ -47,15 +47,15 @@ while True:
if choice=='q': if choice=='q':
print('游戏结束') print('游戏结束')
break break
elif choice=='1' elif choice=='1':
houyi.combat(yase) houyi.combat(yase)
elif choice=='2': elif choice=='2':
cure() houyi.cure()
else: else:
print('请重新输入:1\攻击 2\治疗') print('请重新输入:1\攻击 2\治疗')
continue continue
num=random.randint(1,3) num=random.randint(1,3)
if num==1: if num==1:
yase.combat(houyi) yase.combat(houyi)
else: else:
yase.cure() yase.cure()
\ 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