Commit 0c64a7f3 by BellCodeEditor

save project

parent 08ba0a75
Showing with 3 additions and 3 deletions
...@@ -8,9 +8,9 @@ yase=Hero('yase',300,20) ...@@ -8,9 +8,9 @@ yase=Hero('yase',300,20)
hy=Hero('hy',250,23) hy=Hero('hy',250,23)
k=Hero('K',5600,199) k=Hero('K',5600,199)
def upgrade(): def upgrade():
self.level+=1 yase.level += 1
self.hp+=50 yase.hp += 50
self.attack+=5 yase.attack += 5
upgrade() upgrade()
upgrade() upgrade()
......
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