Commit 68654395 by BellCodeEditor

save project

parent 9c6c45d2
Showing with 3 additions and 3 deletions
...@@ -9,7 +9,7 @@ def upgrade(): ...@@ -9,7 +9,7 @@ def upgrade():
yase.hp+=50 yase.hp+=50
yase.attack+=4 yase.attack+=4
yase=Hero("亚瑟",300,20) yase=Hero("亚瑟",300,20)
print("亚瑟血量初始值:",self.hp) print("亚瑟血量初始值:",yase.hp)
upgrade() upgrade()
upgrade() upgrade()
print("亚瑟血量初始值:",self.hp) print("亚瑟血量初始值:",yase.hp)
\ No newline at end of file \ 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