Commit dace28d3 by BellCodeEditor

save project

parent 466492f1
Showing with 2 additions and 2 deletions
...@@ -4,8 +4,8 @@ class Hero: ...@@ -4,8 +4,8 @@ class Hero:
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
self.name=name self.name=name
kunkun=Hero('坤坤'300,80) kunkun=Hero('坤坤',300,80)
kunba=Hero('坤八'250,90) kunba=Hero('坤八',250,90)
def upgrate(): def upgrate():
kunkun.level+=1 kunkun.level+=1
kunkun.hp+50 kunkun.hp+50
......
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