"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimewarpedPashmar = void 0;
const cards_in_hand_1 = require("../../../simulation/cards-in-hand");
exports.TimewarpedPashmar = {
    cardIds: ["BG34_Giant_211", "BG34_Giant_211_G"],
    baseAvengeValue: (cardId) => 4,
    avenge: (minion, input) => {
        var _a;
        const mult = minion.cardId === "BG34_Giant_211_G" ? 2 : 1;
        const cardsToAdd = [];
        for (let i = 0; i < mult; i++) {
            cardsToAdd.push(input.gameState.cardsData.getRandomSpellcraft({ maxTavernTier: (_a = input.hero.tavernTier) !== null && _a !== void 0 ? _a : 3 }));
        }
        for (let i = 0; i < mult; i++) {
            cardsToAdd.push(input.gameState.cardsData.getRandomTavernSpell());
        }
        (0, cards_in_hand_1.addCardsInHand)(input.hero, input.board, cardsToAdd, input.gameState);
    },
};
//# sourceMappingURL=timewarped-pashmar.js.map