Commit 2cab39b5 by BellCodeEditor

save project

parent 752eae72
Showing with 2 additions and 1 deletions
...@@ -10,6 +10,6 @@ class Hero: ...@@ -10,6 +10,6 @@ class Hero:
self.attack+=4 self.attack+=4
yase=Hero('垭瑟',300,20) yase=Hero('垭瑟',300,20)
houyi=Hero('后羿',250,23) houyi=Hero('后羿',250,23)
upgrade() yase.upgrade()
print(yase.hp) print(yase.hp)
print(yase.hp) 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