"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrustyCrowbar = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.TrustyCrowbar = {
    cardIds: ["BG35_MagicItem_713"],
    onCardAddedToHand: (trinket, input) => {
        if (!(0, utils_1.hasCorrectTribe)(input.addedCard, input.hero, reference_data_1.Race.PIRATE, input.gameState.anomalies, input.gameState.allCards)) {
            return;
        }
        const leftMost = input.board[0];
        if (leftMost) {
            (0, stats_1.modifyStats)(leftMost, trinket, 10, 10, input.board, input.hero, input.gameState);
        }
    },
};
//# sourceMappingURL=trusty-crowbar.js.map