Commit 67a8e627 by BellCodeEditor

save project

parent f207cdd5
Showing with 8 additions and 7 deletions
......@@ -46,18 +46,18 @@ print(' 游戏胜利')
while True:
print('-'*30)
choice=input("请选择技能:1攻击/2治疗")
if choice=="p"
if choice=="q":
print("游戏结束")
break
elif choice=="1":
elif choice=="1":
yase.combat(houyi)
elif choice=="2":
elif choice=="2":
yase.cure()
else:
else:
print("请重试填1.2")
continue
status=random.randint(1,3)
if status==1:
status=random.randint(1,3)
if status==1:
houyi.cure()
else:
else:
houyi.combat(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