"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SkyGolemPortraitEnchantment = void 0;
const stats_1 = require("../../../simulation/stats");
exports.SkyGolemPortraitEnchantment = {
    cardIds: ["BG35_MagicItem_740e2"],
    deathrattleSpawnEnchantmentEffect: (enchantment, minion, input) => {
        const targets = input.boardWithDeadEntity.filter((e) => !e.definitelyDead && e.health > 0);
        for (const target of targets) {
            (0, stats_1.modifyStats)(target, minion, 3, 3, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.gameState);
            input.gameState.spectator.registerPowerTarget(minion, target, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.otherBoardHero);
        }
        return null;
    },
};
//# sourceMappingURL=sky-golem-portrait-enchantment.js.map