Commit 6c0ba78a by BellCodeEditor

save project

parent f137ca1c
Showing with 8 additions and 0 deletions
...@@ -9,3 +9,10 @@ huamulan = Hero() ...@@ -9,3 +9,10 @@ huamulan = Hero()
houyi = Hero() houyi = Hero()
print("huamulan",300,50) print("huamulan",300,50)
print("houyi ",250,70) print("houyi ",250,70)
def upgrade():
huamulan.hp=huamalan.hp+100
huamulan.level=huamulan.level+1
huamulan.acttack=huamulan.acttack+20
houyi.level=houyi.level+1
houyi.hp=houyi.hp+50
hpuyi.acttack=houyi.acttack+25
\ 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