Commit bcd16b58 by BellCodeEditor

save project

parent c6d62e33
Showing with 5 additions and 5 deletions
def cure(self):
self.hp=self+60
if self.hp>self.max_hp:
self.hp=self.max_hp
print(self.name+"使用了治疗术,血量增加:",60,"目前血量为:"self.hp)
print('-'*30)
print(" 战斗开始")
while True:
print('-'*30)
choice=input("请选择释放英雄技能(1攻击/2治疗)")
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