Commit 91dd1e79 by BellCodeEditor

save project

parent fc7b1837
Showing with 2 additions and 2 deletions
...@@ -23,8 +23,8 @@ class Hero: ...@@ -23,8 +23,8 @@ class Hero:
class Player(Hero): # 玩家英雄 class Player(Hero): # 玩家英雄
def __init__(self,name): def __init__(self,name,hero,type):
super().__init__(name) super(Player,self).__init__(name)
self.hp = 250 self.hp = 250
self.attack = 50 self.attack = 50
#player = Player("后羿") #player = Player("后羿")
......
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