Commit e974b527 by BellCodeEditor

save project

parent 42ec6ad0
Showing with 1 additions and 0 deletions
...@@ -8,6 +8,7 @@ class hero: ...@@ -8,6 +8,7 @@ class hero:
self.old=old self.old=old
def upgrade (self): def upgrade (self):
self.leve=self.leve+1 self.leve=self.leve+1
self.hp=selp.hp+1
yase=hero("压缩",0.001,9999999999999,999999999999999999,1) yase=hero("压缩",0.001,9999999999999,999999999999999999,1)
print("yase",yase.old) print("yase",yase.old)
......
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