"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeterminedDefender = void 0;
const attack_1 = require("../../../simulation/attack");
const taunt_1 = require("../../../keywords/taunt");
const stats_1 = require("../../../simulation/stats");
exports.DeterminedDefender = {
    cardIds: ["BG35_122", "BG35_122_G"],
    deathrattleSpawn: (minion, input) => {
        const mult = minion.cardId === "BG35_122_G" ? 2 : 1;
        const neighbours = (0, attack_1.getNeighbours)(input.boardWithDeadEntity, minion);
        for (const n of neighbours) {
            (0, stats_1.modifyStats)(n, minion, 5 * mult, 5 * mult, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.gameState);
            (0, taunt_1.updateTaunt)(n, true, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.otherBoardHero, input.gameState);
            input.gameState.spectator.registerPowerTarget(minion, n, input.boardWithDeadEntity, null, null);
        }
        return [];
    },
};
//# sourceMappingURL=determined-defender.js.map