Commit f5c8c4bb by BellCodeEditor

save project

parent f8bdeda8
Showing with 3 additions and 3 deletions
......@@ -5,9 +5,9 @@ class hero:
self.hp= hp
self.attack= attack
def upgrade(self):
yase.level+=1
yase.hp+=50
yase.attack+=4
self.level+=1
self.hp+=50
self.attack+=4
yase =hero("亚瑟",300,20)
houyi =hero("后羿",240,23)
......
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