Commit 069f7b60 by BellCodeEditor

save project

parent e3ef4c36
Showing with 3 additions and 3 deletions
...@@ -8,7 +8,7 @@ def shengji(): ...@@ -8,7 +8,7 @@ def shengji():
yase.levl=yase.levl+1 yase.levl=yase.levl+1
yase.hp=yase.hp+50 yase.hp=yase.hp+50
yase.attack=yase.attack+4 yase.attack=yase.attack+4
yase=Hero("ya瑟",300,20) yase=Hero("瑟",300,20)
print("ya瑟的血量为:",yase.hp) print("瑟的血量为:",yase.hp)
shengji() shengji()
print("升级2次后,ya瑟的血量为:",yase.hp) print("升级1次后,亚瑟的血量为:",yase.hp)
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