"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LostCityLooter = void 0;
const utils_1 = require("../../../services/utils");
const cards_in_hand_1 = require("../../../simulation/cards-in-hand");
exports.LostCityLooter = {
    cardIds: ["BG33_820", "BG33_820_G"],
    endOfTurn: (minion, input) => {
        const mult = minion.cardId === "BG33_820_G" ? 2 : 1;
        const pool = input.gameState.cardsData.bountyTavernSpellIds;
        for (let i = 0; i < mult; i++) {
            const id = (0, utils_1.pickRandom)(pool);
            if (id) {
                (0, cards_in_hand_1.addCardsInHand)(input.hero, input.board, [id], input.gameState);
            }
        }
    },
};
//# sourceMappingURL=lost-city-looter.js.map