Commit ae661013 by BellCodeEditor

save project

parent e1c401e9
Showing with 7 additions and 7 deletions
......@@ -45,20 +45,20 @@ print(' 战斗开始')
while True:
print("-" * 30)
choice = input("技能(1攻击/2治疗):")
if choice=="q":
if choice=="q":
print("over")
break
elif choice=="1":
elif choice=="1":
yase.combat(houyi)
elif choice=="2":
elif choice=="2":
yase.cure()
else :
else :
print("重输")
continue
s=random.ranint(1,3)
if s == 1:
s=random.ranint(1,3)
if s == 1:
houyi.cure()
else:
else:
houyi.combat(yase)
......
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