Commit 854bcf8f by BellCodeEditor

save project

parent b4694948
Showing with 10 additions and 2 deletions
......@@ -15,4 +15,13 @@ def upgrade():
print("NB血量为:",NB.hp)
upgrade()
upgrade()
print("NB血量为:",NB.hp)
\ No newline at end of file
print("NB血量为:",NB.hp)
def upgrade():
DCM.level=DCM.level+1
DCM.hp=DCM.hp+20
DCM.attack=DCM.attack+5
print("DCM血量为:",DCM.hp)
upgrade()
upgrade()
print("DCM血量为:",DCM.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