Commit 803e7a70 by BellCodeEditor

save project

parent 2169da92
Showing with 2 additions and 0 deletions
...@@ -11,6 +11,8 @@ class Hero: ...@@ -11,6 +11,8 @@ class Hero:
jiede=Hero("捷德",9999,10000) jiede=Hero("捷德",9999,10000)
oubu=Hero("欧布",999,100001) oubu=Hero("欧布",999,100001)
jiede.upgrade()
oubu.upgrade()
print(jiede.name+str(jiede.Hp)) print(jiede.name+str(jiede.Hp))
print(oubu) print(oubu)
......
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