Commit 4bea0d38 by BellCodeEditor

auto save

parent 806cc269
Showing with 2 additions and 3 deletions
...@@ -6,9 +6,8 @@ class Hero: ...@@ -6,9 +6,8 @@ class Hero:
self.hp = 300000000 self.hp = 300000000
self.lever = 1 self.lever = 1
self.attack = 30000000 self.attack = 30000000
yase = Hero(300,20,"亚瑟")
yase = Hero(300,20,"亚瑟") def upgrade():
def upgrade():
yase.lever+=1 yase.lever+=1
yase.hp+=50 yase.hp+=50
yase.attack+=300 yase.attack+=300
......
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