Commit 4ec84688 by BellCodeEditor

save project

parent f9c27fcc
Showing with 1 additions and 1 deletions
......@@ -3,7 +3,7 @@ class Hero:
self.level=1
self.name=name
self.hp=hp
self.attack=attack
def upgrade(self):
self.level=self.level+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