Commit b4909eb5 by BellCodeEditor

auto save

parent 2c2ffa90
Showing with 3 additions and 3 deletions
...@@ -61,11 +61,11 @@ yase = Hero("垭瑟") ...@@ -61,11 +61,11 @@ yase = Hero("垭瑟")
while True: while True:
print("-"*30) print("-"*30)
w=input("请选择技能(技能1/技能2)") w=input("请选择技能(技能1/技能2)")
if w="q" if w=="q":
print("游戏结束") print("游戏结束")
elif w="1": elif w=="1":
houyi.combat(yase) houyi.combat(yase)
elif w="2": elif w=="2":
houyi.cure() houyi.cure()
else: else:
print("请输入1或2") print("请输入1或2")
......
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