Commit a7be1b8b by BellCodeEditor

save project

parent 4112cb45
Showing with 2 additions and 0 deletions
...@@ -9,6 +9,7 @@ def upgrade(): ...@@ -9,6 +9,7 @@ def upgrade():
sb.level=sb.level+1 sb.level=sb.level+1
sb.hp=sb.hp+50 sb.hp=sb.hp+50
sb.attack=sb.attack+4 sb.attack=sb.attack+4
upgrade()
print('傻逼等级',sb.level) print('傻逼等级',sb.level)
print('傻逼攻击',sb.attack) print('傻逼攻击',sb.attack)
print('傻逼血量',sb.hp) print('傻逼血量',sb.hp)
\ 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