Commit 494dac3b by BellCodeEditor

save project

parent edc2bac8
Showing with 7 additions and 1 deletions
...@@ -5,4 +5,10 @@ class Hero(): ...@@ -5,4 +5,10 @@ class Hero():
self.hp=hp self.hp=hp
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