"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CousinErrgl = void 0;
const cards_in_hand_1 = require("../../../simulation/cards-in-hand");
const utils_1 = require("../../../services/utils");
exports.CousinErrgl = {
    cardIds: ["BG35_142", "BG35_142_G"],
    endOfTurn: (minion, input) => {
        if (minion.cardId === "BG35_142_G") {
            (0, cards_in_hand_1.addCardsInHand)(input.hero, input.board, ["BG35_140", "BG35_141"], input.gameState);
        }
        else {
            const id = (0, utils_1.pickRandom)(["BG35_140", "BG35_141"]);
            (0, cards_in_hand_1.addCardsInHand)(input.hero, input.board, [id], input.gameState);
        }
        return true;
    },
};
//# sourceMappingURL=cousin-errgl.js.map