Commit 709ed2ec by BellCodeEditor

auto save

parent 10d6875e
Showing with 9 additions and 0 deletions
...@@ -14,3 +14,11 @@ yase=Hero("亚瑟",300,20) ...@@ -14,3 +14,11 @@ yase=Hero("亚瑟",300,20)
print(yase.HP) print(yase.HP)
yase.upgrade() yase.upgrade()
print(yase.HP) print(yase.HP)
houyi=Hero("后羿",500,100)
print(houyi.attack)
houyi.upgrade()
print(houyi.attack)
\ 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