Commit de03d5b6 by BellCodeEditor

save project

parent 6c2a9e4c
Showing with 6 additions and 5 deletions
......@@ -40,7 +40,8 @@ class Player(Hero): # 玩家英雄
垭瑟 = Hero("垭瑟")
print("玩家的血量值为:",后羿.hp)
print("玩家的攻击力为:",后羿.attack)
后羿.combat(垭瑟)
垭瑟.combat(后羿)
后羿.cure()
垭瑟.cure()
\ No newline at end of file
print("-" * 60)
print(" " * 28+"战斗开始"+" " * 28)
while True:
print("-" * 60)
choice = input('请选择释放英雄技能(1攻击/2治疗)')
\ 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