Commit 3969ac73 by BellCodeEditor

save project

parent ede8bcfc
Showing with 7 additions and 3 deletions
...@@ -8,5 +8,9 @@ class hera: ...@@ -8,5 +8,9 @@ class hera:
yase=hera("亚瑟",300,100) yase=hera("亚瑟",300,100)
print(yase.attack) print(yase.attack)
def asd(): def asd():
leve=self.leve+1 yase=yase.level+1
hp=self yase.hp=yase.hp+50
\ No newline at end of file yase.attar=yase.attra+4
qwe()
qwe()
print(yase.hp)
\ 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