Commit 2175fb4a by BellCodeEditor

auto save

parent 877c229a
Showing with 5 additions and 4 deletions
...@@ -55,15 +55,15 @@ while True: ...@@ -55,15 +55,15 @@ while True:
print("游戏结束") print("游戏结束")
break break
elif choice == "1": elif choice == "1":
combat(self) houyi.combat(yase)
elif choice == "2": elif choice == "2":
cure(self) houyi.cure()
else: else:
print("请正确输入指令") print("请正确输入指令")
continue continue
num = random.randint(1,3) num = random.randint(1,3)
if num == 1: if num == 1:
cure(yase) yase.cure()
else: else:
combat(yase) yase.combat(houyi)
\ 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