Commit 4976ffc5 by BellCodeEditor

save project

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