Commit 93cacd78 by BellCodeEditor

save project

parent 4cfd79bb
Showing with 2 additions and 2 deletions
...@@ -20,9 +20,9 @@ class Hero: # 英雄类 ...@@ -20,9 +20,9 @@ class Hero: # 英雄类
exit() exit()
class Player(): # 玩家英雄 class Player(Hero): # 玩家英雄
def __init__(self,name): def __init__(self,name):
super().__init__(self,name) super().__init__(name)
self.hp=500 self.hp=500
self.attack=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 self.attack=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
......
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