Commit 4a00932f by BellCodeEditor

save project

parent 27d691dd
Showing with 6 additions and 4 deletions
......@@ -7,9 +7,10 @@ class Hero:
yase=Hero()
print(yase,300,20)
print(houyi,250,23)
def wu()
yase.level=levels+1
yase.hp=hp+50
self.attack=attack+4
def wu()
self.level=self.levels+1
self.hp=self.hp+50
self.attack=self.attack+4
print(houyi,250,23)
wu()
wu()
\ 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