Commit 53461729 by BellCodeEditor

save project

parent b80c2b75
Showing with 3 additions and 1 deletions
...@@ -14,9 +14,10 @@ houyi=Hero('houyi',250,23) ...@@ -14,9 +14,10 @@ houyi=Hero('houyi',250,23)
#def upgrade(): #def upgrade():
#yase.level=yase.level+1 #yase.level=yase.level+1
#yase.hp=yase.hp+50 #yase.hp=yase.hp+50
# yase.attack=yase.attack+5 #yase.attack=yase.attack+5
yase.upgrade() yase.upgrade()
houyi.upgrade() houyi.upgrade()
print(yase.hp) print(yase.hp)
print(houyi.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