Commit 5011bc24 by BellCodeEditor

save project

parent abd9c371
Showing with 5 additions and 3 deletions
...@@ -53,8 +53,9 @@ while True: ...@@ -53,8 +53,9 @@ while True:
cure() cure()
else: else:
print('请重新输入:1\攻击 2\治疗') print('请重新输入:1\攻击 2\治疗')
a=random.randint(1,3) continue
if a=='1': num=random.randint(1,3)
if num==1:
yase.combat(houyi) yase.combat(houyi)
elif a=='2': 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