Commit 0754a46d by BellCodeEditor

save project

parent e76b3ff3
Showing with 1 additions and 1 deletions
...@@ -8,7 +8,7 @@ def upgrade(): ...@@ -8,7 +8,7 @@ def upgrade():
yase.level=yase.level+1 yase.level=yase.level+1
yase.HP=yase.HP*2-yase.HP/4 yase.HP=yase.HP*2-yase.HP/4
yase.attack=yase.attack*4-yase.attack/2 yase.attack=yase.attack*4-yase.attack/2
yase=Hero('yase',300,20) yase=Hero('亚瑟',300,20)
print("亚瑟初始攻击:",yase.attack) print("亚瑟初始攻击:",yase.attack)
updrade() updrade()
print("亚瑟升级一次攻击:",yase.attack) print("亚瑟升级一次攻击:",yase.attack)
......
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