Commit 45ec5723 by BellCodeEditor

save project

parent 4ed635ad
Showing with 1 additions and 0 deletions
...@@ -19,6 +19,7 @@ class Hero(): ...@@ -19,6 +19,7 @@ class Hero():
print(info) print(info)
exit() exit()
class Player(Hero): class Player(Hero):
def __init__(self,name):
super().__init__(name) super().__init__(name)
name.hp -= 50 name.hp -= 50
name.attack += 20 name.attack += 20
......
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