Commit a7ea914d by BellCodeEditor

save project

parent a1c15389
Showing with 2 additions and 3 deletions
...@@ -22,12 +22,11 @@ class Hero: # 英雄类 ...@@ -22,12 +22,11 @@ class Hero: # 英雄类
exit() exit()
class Player(Hero): # 玩家英雄 class Player(Hero):
def __init__(self,name): def __init__(self,name):
super().__init__(name) super().__init__(name)
self.hp=3050 self.hp=3050
self.attack=80 self.attack=65
......
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