Commit 306e1670 by BellCodeEditor

save project

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