Commit 6a4997a7 by BellCodeEditor

auto save

parent 558d14de
Showing with 0 additions and 1 deletions
...@@ -20,7 +20,6 @@ class Hero: # 英雄类 ...@@ -20,7 +20,6 @@ class Hero: # 英雄类
exit() exit()
class Player(Hero): class Player(Hero):
def __init__(self,name,Hero_Type): # 玩家英雄 def __init__(self,name,Hero_Type): # 玩家英雄
super().__init__(name)
self.hp = 290 self.hp = 290
self.attack = 30 self.attack = 30
self.Hero_Type=Hero_Type self.Hero_Type=Hero_Type
......
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