Commit 1cd99560 by BellCodeEditor

auto save

parent ec4713ab
Showing with 1 additions and 10 deletions
...@@ -4,12 +4,4 @@ class Hero: ...@@ -4,12 +4,4 @@ class Hero:
self.level=10 self.level=10
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase = Hero("牙涩",1000,20)
dj=Hero ("打鸡",240,21)
def upgrade():
yase.level=yase.level+1
yase.attack=yase.hp+50
yase.attack=yase.attack+4
yase = Hero("牙涩",1000,20)
dj=Hero ("打鸡",240,21)
a()
\ 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