Commit 92462358 by BellCodeEditor

save project

parent 411d8f30
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ class Heros: ...@@ -5,7 +5,7 @@ class Heros:
self.attack=attack self.attack=attack
self.name=name self.name=name
def updata(self): def updata(self):
self.hp +=65 self.hp +=65
wukong=Heros('悟空' ,36,7777777999999) wukong=Heros('悟空' ,36,7777777999999)
wukong.updata() wukong.updata()
......
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