Commit e0f0751f by BellCodeEditor

save project

parent 95bfcc3e
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ def shengji(self): ...@@ -10,7 +10,7 @@ def shengji(self):
self.gongji=self.gongji+4 self.gongji=self.gongji+4
kai=Hero("铠",5000,4000) kai=Hero("铠",5000,4000)
kai.shengji() kai.shengji()
print("为:",kai.hp) print("等级为:",kai.level)
print("血量为:",kai.hp) print("血量为:",kai.hp)
print("攻击力为:",kai.gongjili) print("攻击力为:",kai.gongjili)
......
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