Commit d76615ef by BellCodeEditor

save project

parent d73c3afc
Showing with 4 additions and 3 deletions
......@@ -9,6 +9,7 @@ def upgrade():
zhiyin.level = zhiyin.level+2.5
zhiyin.hp = zhiyin.hp+250
zhiyin.attack = zhiyin.attack+1145
kun = Hero('蔡徐坤',114,514)
zhiyin = Hero('鸡',2.5,2.5)
print('鸡的血量是:',zhiyin.hp)
\ No newline at end of file
print('鸡的初始血量是:',zhiyin.hp)
upgrade()
print('鸡的现在血量是:',zhiyin.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