Commit 45e021c0 by BellCodeEditor

save project

parent 91f458ac
Showing with 2 additions and 2 deletions
...@@ -10,8 +10,8 @@ def upgrade(): ...@@ -10,8 +10,8 @@ def upgrade():
yase.hp=tase.hp+50 yase.hp=tase.hp+50
yase.attack=yase.attack+4 yase.attack=yase.attack+4
yase=Hero("垭瑟"300,20) yase=Hero("垭瑟",300,20)
print("垭瑟初始血量:",yase.hp) print("垭瑟初始血量:",yase.hp)
upgrade() upgrade()
upgrade() upgrade()
print("两次后血量为:",yase.hp) print("两次后血量为:",yase.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