def use(self, opponent: Monster): dmg = self.damageCalc(opponent) opponent.take(dmg) self.uses -= 1 return f"{self.owner.name} used {self.name} and dealt {dmg} damage!"
def use(self, opponent: Monster): dmg = self.damageCalc(opponent) opponent.take(dmg) reg = self.owner.heal(dmg * 0.65) self.uses -= 1 return f"{self.owner.name} used {self.name} and dealt {dmg} damage!\n{self.owner.name} got healed!"