"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TideRaiserPortrait = void 0;
const cards_in_hand_1 = require("../../../simulation/cards-in-hand");
exports.TideRaiserPortrait = {
    cardIds: ["BG35_MagicItem_922"],
    afterTavernSpellCast: (trinket, input) => {
        var _a;
        const remaining = (_a = trinket.scriptDataNum1) !== null && _a !== void 0 ? _a : 3;
        if (remaining <= 0)
            return;
        trinket.scriptDataNum1 = remaining - 1;
        (0, cards_in_hand_1.addCardsInHand)(input.hero, input.board, [input.spellCardId], input.gameState);
    },
};
//# sourceMappingURL=tide-raiser-portrait.js.map