"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeadSeaRavager = void 0;
const utils_1 = require("../../../services/utils");
const stats_1 = require("../../../simulation/stats");
exports.DeadSeaRavager = {
    cardIds: ["BG34_765", "BG34_765_G"],
    rally: (minion, input) => {
        const mult = minion.cardId === "BG34_765_G" ? 2 : 1;
        const candidates = input.attackingBoard.filter((e) => e != minion);
        const targets = (0, utils_1.pickMultipleRandomAlive)(candidates, 3);
        for (const target of targets) {
            for (let i = 0; i < mult; i++) {
                (0, stats_1.modifyStats)(target, minion, minion.attack, 0, input.attackingBoard, input.attackingHero, input.gameState);
            }
        }
        return { dmgDoneByAttacker: 0, dmgDoneByDefender: 0 };
    },
};
//# sourceMappingURL=dead-sea-ravager.js.map