Commit 79820aae by BellCodeEditor

save project

parent 0902494a
Showing with 3 additions and 2 deletions
...@@ -12,4 +12,5 @@ class Hero: ...@@ -12,4 +12,5 @@ class Hero:
yase=Hero("垭瑟",56,100) yase=Hero("垭瑟",56,100)
yase.uplevel yase.uplevel
print("垭瑟的血量为",yase.hp) print("垭瑟的血量为",yase.hp)
print("垭瑟的攻击为",yase.attack) print("垭瑟的攻击为",yase.attack)
\ No newline at end of file print("垭瑟的等级为",yase.level)
\ 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