Commit 6b16e311 by BellCodeEditor

save project

parent 4fa05ea6
Showing with 1 additions and 1 deletions
...@@ -8,7 +8,7 @@ yase=Hero("SB",300,20) ...@@ -8,7 +8,7 @@ yase=Hero("SB",300,20)
#houyi=Hero("117",240,23) #houyi=Hero("117",240,23)
print("SB的血量:",yase.hp) print("SB的血量:",yase.hp)
#print("177的血量:",houyi.hp) #print("177的血量:",houyi.hp)
def upgprdes(): def upgprdes(self):
yase.level=yase.level+1 yase.level=yase.level+1
yase.hp=yase.hp+50 yase.hp=yase.hp+50
yase.attack=yase.attack+4 yase.attack=yase.attack+4
......
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