Commit 13a70948 by BellCodeEditor

save project

parent 8ac85165
Showing with 1 additions and 1 deletions
...@@ -11,7 +11,7 @@ class Hero: ...@@ -11,7 +11,7 @@ class Hero:
self.attack=self.attack+4 self.attack=self.attack+4
yase=Hero("亚瑟",300,20) yase=Hero("亚瑟",300,20)
houyi=Hero("后羿",250,23) houyi=Hero("后羿",240,23)
houyi.upgrade() houyi.upgrade()
print(houyi.level) print(houyi.level)
print(houyi.hp) print(houyi.hp)
......
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