Commit fa7f2a1c by BellCodeEditor

save project

parent 054084cc
Showing with 8 additions and 3 deletions
......@@ -53,12 +53,17 @@ while True:
b=random.randint(1,2)
if a=="q":
break
if a==1:
else :
if a=="1" or a=="2":
if a=="1":
houyi.combat(yase)
if a==2:
if a=="2":
houyi.cure()
else:
print("-"*50)
print("输入错误,请重新输入!")
continue
if b==1:
yase.combat(houyi)
if b==2:
yase.cure()
print("-"*50)
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