Commit dfbc2106 by BellCodeEditor

save project

parent 19f0348d
Showing with 7 additions and 0 deletions
......@@ -10,5 +10,12 @@ yase=hero('yase',300,200)
hy=hero('hy',250,150)
print(yase.attack)
print(hy.attack)
def upgrade():
yase.lever+=1
yase.hp+=50
yase.attack+=4
upgrade()
upgrade()
print(yase.attack)
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