Commit 2a05ba5d by BellCodeEditor

save project

parent 1e2865d5
Showing with 10 additions and 8 deletions
......@@ -3,11 +3,9 @@ class Yase():
self.level = 1
self.HP = HP
self.attack = attack
yase = Yase(500,40)
def jj():
yase.HP = yase.HP + 50
yase.attack = yase.attack + 50
jj()
print(yase.HP)
def jj():
self.HP = self.HP + 50
self.attack = self.attack + 50
yase = Yase(500,40)
jj()
print(yase.HP)
\ No newline at end of file
class Hero():
def
\ 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