Commit def483a7 by BellCodeEditor

save project

parent 91f8afdb
Showing with 5 additions and 5 deletions
......@@ -8,8 +8,8 @@ yase=Hero("垭瑟",999999,990)
hoyi=Hero("后羿",999000,999)
print("垭瑟的生命值为",yase.hp)
print("后羿的生命值为",hoyi.hp)
def a():
yase.level=yase.level+1
yase.name=yase.name+90
yase.hp=yase.hp+100
a()
def upgrade():
yase.level+=1
yase.name+=90
yase.hp+=100
upgrade()
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