Commit 6c0ba78a by BellCodeEditor

save project

parent f137ca1c
Showing with 9 additions and 2 deletions
......@@ -8,4 +8,11 @@ class Hero:
huamulan = Hero()
houyi = Hero()
print("huamulan",300,50)
print("houyi ",250,70)
\ No newline at end of file
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