Commit 4bea0d38 by BellCodeEditor

auto save

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