Commit 1403c422 by BellCodeEditor

save project

parent cea69f1b
Showing with 2 additions and 2 deletions
...@@ -22,10 +22,10 @@ class Hero: # 英雄类 ...@@ -22,10 +22,10 @@ class Hero: # 英雄类
exit() exit()
class Player(): # 玩家英雄 class Player(Hero): # 玩家英雄
def __init__(self,name): def __init__(self,name):
super().__init__(name) super().__init__(name)
self.hp=9999999999999999999999999999999999999999999999999 self.hp=999999
self.attack=1 self.attack=1
......
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