Commit be111960 by BellCodeEditor

save project

parent e76d2fe6
Showing with 1 additions and 1 deletions
...@@ -43,7 +43,7 @@ class Player(Hero): ...@@ -43,7 +43,7 @@ class Player(Hero):
self.hp=self.max_hp self.hp=self.max_hp
if self.hp>self.max_hp: if self.hp>self.max_hp:
self.hp=self.max_hp self.hp=self.max_hp
print("使用治疗术当前血量为",self.hp,"血量增加了"60) print("使用治疗术当前血量为",60,"血量增加了"self.hp)
houyi = Player("射手", "后羿") houyi = Player("射手", "后羿")
yase = Hero("垭瑟") yase = Hero("垭瑟")
......
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