Commit d00c2e64 by BellCodeEditor

auto save

parent a9085813
Showing with 4 additions and 1 deletions
...@@ -18,7 +18,10 @@ def upgrade(): ...@@ -18,7 +18,10 @@ def upgrade():
yuzhibopeiqi.level = self.level + 1 yuzhibopeiqi.level = self.level + 1
yuzhibopeiqi.hp = self.hp + 50 yuzhibopeiqi.hp = self.hp + 50
yuzhibopeiqi.attack = self.attack + 5 yuzhibopeiqi.attack = self.attack + 5
upgrade() upgrade()
print(yuzhibopeiqi,attack,yuzhibopeiqi,hp,yuzhibopeiqi,level)
P
print("宇智波佩奇的血量为:",yase.hp) print("宇智波佩奇的血量为:",yase.hp)
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