"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimewarpedPainter = void 0;
const attack_1 = require("../../../simulation/attack");
const stats_1 = require("../../../simulation/stats");
exports.TimewarpedPainter = {
    cardIds: ["BG34_Giant_319", "BG34_Giant_319_G"],
    endOfTurn: (minion, input) => {
        var _a;
        const targets = (0, attack_1.getNeighbours)(input.board, minion);
        const mult = minion.cardId === "BG34_Giant_319_G" ? 2 : 1;
        const baseBuff = (_a = minion.scriptDataNum1) !== null && _a !== void 0 ? _a : 1;
        for (const target of targets) {
            input.gameState.spectator.registerPowerTarget(minion, target, input.board, input.hero, input.otherHero);
            (0, stats_1.modifyStats)(target, minion, 2 * baseBuff * mult, 1 * baseBuff * mult, input.board, input.hero, input.gameState);
        }
    },
};
//# sourceMappingURL=timewarped-painter.js.map