Commit 57ebbbc7 by BellCodeEditor

auto save

parent e827b792
Showing with 8 additions and 2 deletions
......@@ -41,4 +41,10 @@ houyi = Player("鸡", "坤坤")
yase = Hero("小黑子")
print("-"*30)
print(" 战斗开始")
while True:
\ No newline at end of file
while True:
print("-"*30)
choice=input("释放技能(1攻击,2治疗)")
if choice == "1":
houyi.combat(houyi,yase)
elif choice == "2":
houyi.cure(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