Commit 494dac3b by BellCodeEditor

save project

parent edc2bac8
Showing with 6 additions and 0 deletions
...@@ -6,3 +6,9 @@ class Hero(): ...@@ -6,3 +6,9 @@ class Hero():
self.attack=attack self.attack=attack
yase=Hero(垭色,300,20) yase=Hero(垭色,300,20)
yase=Hero(后翼,25023) yase=Hero(后翼,25023)
def upgrade():
self.level=self.level+1
self.name=name
self.hp=300
self.attack=attack
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