Commit 65aa7840 by BellCodeEditor

save project

parent 58f94b53
Showing with 3 additions and 3 deletions
...@@ -5,9 +5,9 @@ class hero: ...@@ -5,9 +5,9 @@ class hero:
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
def sb(self): def sb(self):
self.level=self.level+1 self.level=self.level+19
self.attack=self.attack+1 self.attack=self.attack+19
self.hp=self.hp+1 self.hp=self.hp+19
yase=hero("瑟",90,90) yase=hero("瑟",90,90)
houyi=hero("hou",88,88) houyi=hero("hou",88,88)
houyi.sb() houyi.sb()
......
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