Commit 328e02f8 by BellCodeEditor

auto save

parent dff60880
Showing with 8 additions and 2 deletions
......@@ -3,4 +3,10 @@ class hero:
self.hp = hp
self.level = 1
self.attack=attack
self.name=(name)
\ No newline at end of file
self.name=name
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
yase =Hero()
\ 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