Commit ff78b043 by BellCodeEditor

save project

parent 85a6aa90
Showing with 4 additions and 4 deletions
......@@ -7,7 +7,7 @@ class Hero:
yase = hero ("垭瑟",300,20)
print("垭瑟的血量为:",yase.hp)
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+10
yase.attack=yase.attack+10
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