

def use(self, player, game):
    super().use(player, game)
    targets = copy.copy(player.game.current_player.minions)
    if ((self.target.card.minion_type is MINION_TYPE.DEMON) and (self.target in targets)):
        self.target.change_attack(5)
        self.target.increase_health(5)
    else:
        self.target.damage(player.effective_spell_damage(5), self)

dataset/ETHPy150Open danielyule/hearthbreaker/hearthbreaker/cards/spells/warlock.py Demonheart.use/original