Commit acb8c7c4 by BellCodeEditor

auto save

parent 0e201fe7
Showing with 7 additions and 3 deletions
...@@ -39,7 +39,11 @@ class Player(Hero): ...@@ -39,7 +39,11 @@ class Player(Hero):
houyi = Player("射手", "后羿") houyi = Player("射手", "后羿")
yase = Hero("垭瑟") yase = Hero("垭瑟")
print("-"*50) print("-"*50)
print(" ^战斗开始^") print(" ^……^@战斗开始@^……^")
while True: while True:
print("-"*50) print("-"*50)
zhandoufangshi = input("请选择战斗方式(1攻击/2治疗):") zhandoufangshi = input("请选择战斗方式(1攻击/2治疗):")
\ No newline at end of file if zhandoufangshi != "1" or "2":
print("请重新输入")
elif zhandoufangshi == "1":
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