"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UtilityDrone = void 0;
const magnetize_1 = require("../../../simulation/magnetize");
const stats_1 = require("../../../simulation/stats");
exports.UtilityDrone = {
    cardIds: ["BG26_152", "BG26_152_G"],
    endOfTurn: (minion, input) => {
        const mult = minion.cardId === "BG26_152_G" ? 2 : 1;
        for (const target of input.board) {
            const magnetizations = (0, magnetize_1.getMagnetizations)(target, input.gameState);
            if (magnetizations > 0) {
                (0, stats_1.modifyStats)(target, minion, 3 * magnetizations * mult, 3 * magnetizations * mult, input.board, input.hero, input.gameState);
            }
        }
    },
};
//# sourceMappingURL=utility-drone.js.map