Commit 306e1670 by BellCodeEditor

save project

parent 98650afb
Showing with 4 additions and 4 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
yase=hero('yase',4800,10000000000000000000000000000000000000000000000000000000) yase=hero('yase',4800,10000000000000000000000000000000000000000000000000000000)
def upgrad(): def upgrad():
yase.level= yase.level+1 self.level= yase.level+1
yase.hp= yase.hp+50 self.hp= yase.hp+50
yase.attack= yase.attack+4 self.attack= yase.attack+4
upgrad() upgrad()
upgrad() upgrad()
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