Commit dd88a612 by BellCodeEditor

save project

parent ca7fce38
Showing with 1 additions and 1 deletions
...@@ -20,7 +20,7 @@ class Hero(object): ...@@ -20,7 +20,7 @@ class Hero(object):
print(info) print(info)
class player(Hero): class player(Hero):
super().__init__(): super().__init__(name):
self.level = 1 self.level = 1
self.hp = 200 self.hp = 200
self.attack = 50 self.attack = 50
......
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