"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MetalDispenser = void 0;
const cards_in_hand_1 = require("../../../simulation/cards-in-hand");
const magnetize_1 = require("../../../simulation/magnetize");
exports.MetalDispenser = {
    cardIds: ["BG34_176", "BG34_176_G"],
    baseAvengeValue: (cardId) => 3,
    avenge: (minion, input) => {
        const loops = minion.cardId === "BG34_176_G" ? 2 : 1;
        for (let i = 0; i < loops; i++) {
            const cardId = input.gameState.cardsData.getRandomMagneticVolumizer(input.hero, input.gameState.anomalies, 6);
            (0, magnetize_1.magnetizeToTarget)([minion], minion, [cardId], input.board, input.hero, input.otherBoard, input.otherHero, input.gameState);
            (0, cards_in_hand_1.addCardsInHand)(input.hero, input.board, [cardId], input.gameState);
        }
    },
};
//# sourceMappingURL=metal-dispenser.js.map