Commit cc7777b4 by BellCodeEditor

save project

parent 854bcf8f
Showing with 2 additions and 2 deletions
...@@ -18,8 +18,8 @@ upgrade() ...@@ -18,8 +18,8 @@ upgrade()
print("NB血量为:",NB.hp) print("NB血量为:",NB.hp)
def upgrade(): def upgrade():
DCM.level=DCM.level+1 DCM.level=DCM.level+1
DCM.hp=DCM.hp+20 DCM.hp=DCM.hp+15
DCM.attack=DCM.attack+5 DCM.attack=DCM.attack+10
print("DCM血量为:",DCM.hp) print("DCM血量为:",DCM.hp)
upgrade() upgrade()
......
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