Commit 56d77aa9 by BellCodeEditor

auto save

parent 7f29046c
Showing with 13 additions and 0 deletions
......@@ -40,5 +40,17 @@ houyi = Player("射手", "后羿")
yase = Hero("垭瑟")
houyi.combat(yase)
yase.combat(houyi)
print("-"*30)
print(" 开打")
while True:
print("-"*30)
choice=input('用1攻击/2治尿:')
if choice=="q":
print("结束")
break
elif choice=='1':
self.combat(yase)
elif choice=='2':
s
houyi.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