Commit 4ce1faa1 by BellCodeEditor

save project

parent 59aff111
Showing with 0 additions and 2 deletions
......@@ -7,8 +7,6 @@ class Hero():
yase=Hero("亚瑟",300,20)
houyi=Hero("后羿",250,23)
print("亚瑟的血量攻击力:",yase.hp)
print("后羿的血量攻击力:",houyi.hp)
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
......
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