"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PeggySturdybone = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.PeggySturdybone = {
    cardIds: ["BG25_032", "BG25_032_G"],
    onCardAddedToHand: (minion, input) => {
        const pirate = (0, utils_1.getRandomAliveMinion)(input.board.filter((e) => e.entityId !== minion.entityId), input.hero, reference_data_1.Race.PIRATE, input.gameState);
        if (pirate) {
            (0, stats_1.modifyStats)(pirate, minion, minion.cardId === "BG25_032_G" ? 2 : 1, minion.cardId === "BG25_032_G" ? 2 : 1, input.board, input.hero, input.gameState);
        }
    },
};
//# sourceMappingURL=peggy-sturdybone.js.map