Commit b1f43ff9 by BellCodeEditor

save project

parent e7131ba8
Showing with 1 additions and 1 deletions
......@@ -28,7 +28,7 @@ class Hero(object):
def cheat(self):
self.max_hp=500
self.hp=self.max_hp
print(self.name+"使用了秘密武器,血量上限提升至"+self.max_hp+"并回满血量")
print(self.name+"使用了秘密武器,血量上限提升至",self.max_hp,"并回满血量")
class Player(Hero):
def __init__(self,hero_type,name):
......
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