Commit 3a6e280c by BellCodeEditor

save project

parent 3aeab4a7
Showing with 4 additions and 1 deletions
......@@ -8,12 +8,14 @@ yase=Hero("亚瑟",2000000002,9999999999999999999999999999999999999999999999999)
print("史瀚鑫",9999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
print("亚瑟的血量为:",yase.hp)
print("后羿的血量为:",houyi.hp)
def upgrade():
yase.level = yase.leve+1
yase.hp = yase.hp+50
yase.attack = yase.attack
yase = Hero("亚瑟",300,20)
yeas.upgrade()
yese.upgrade()
print("等级提升为: ",yeas.leve1)
print("血量为: ",yeas.hp)
print("攻击力为: ",yeas.attack)
\ 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