Commit ccb652c7 by BellCodeEditor

save project

parent f7ab7c99
Showing with 5 additions and 0 deletions
......@@ -5,3 +5,7 @@ class Hero:
self.hp=hp
self.attack=attack
def ungrade(self)
self.level=self.level+1
self.hp=self.hp+300
self.attack+=4
\ No newline at end of file
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