Commit 76815873 by BellCodeEditor

save project

parent 584d7861
Showing with 4 additions and 8 deletions
...@@ -4,11 +4,8 @@ class hero(): ...@@ -4,11 +4,8 @@ class hero():
self.N = N self.N = N
self.H = H self.H = H
self.A = A self.A = A
def UP(self):
self.L = self.L + 1
self.A = self.A + 150
self.H = self.H + 100
YS = hero('YS',400,200) YS = hero('YS',400,200)
def UP():
YS.L = YS.L + 1
YS.A = YS.A + 150
YS.H = YS.H + 100
UP()
UP()
\ No newline at end of file
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