def use(self, player, game):
        super().use(player, game)
        if self.target.health <= player.effective_spell_damage(2) and \
                (isinstance(self.target, Minion) and not self.target.divine_shield):
            self.target.damage(player.effective_spell_damage(2), self)
            demons = CollectionSource([IsType(MINION_TYPE.DEMON)])
            demons.get_card(player, player, self).summon(player, game, len(player.minions))
        else:
            self.target.damage(player.effective_spell_damage(2), self)
dataset/ETHPy150Open danielyule/hearthbreaker/hearthbreaker/cards/spells/warlock.py/BaneOfDoom.use/original