Commit b129d34c by BellCodeEditor

save project

parent fbe49d1f
Showing with 2 additions and 1 deletions
......@@ -27,7 +27,7 @@ class Hero(object):
exit()
class Player(Hero):
def __init__(self,hero_type,name):
def __init__(self,hero_type,name):sa
super().__init__(name)
self.hp = 200
self.attack = 50
......@@ -47,3 +47,4 @@ print(" 战斗开始")
while True:
print("-"*30)
choice=input("请选择释放英雄技能(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