Commit fc89959b by BellCodeEditor

save project

parent 6215f1a6
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ ghost=Hero('ghost',400,40) ...@@ -10,7 +10,7 @@ ghost=Hero('ghost',400,40)
print(bc.attack) print(bc.attack)
print(ad.attack) print(ad.attack)
print(ghost.attack) print(ghost.attack)
def upgrade() def upgrade():
bc.level+=1 bc.level+=1
bc.hp+=30 bc.hp+=30
bc.attack+=5 bc.attack+=5
......
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