"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BluegillFlippers = void 0;
exports.BluegillFlippers = {
    cardIds: ["BG32_MagicItem_893"],
    afterTavernSpellCast: (trinket, input) => {
        var _a, _b, _c, _d, _e;
        const hand = (_a = input.hero.hand) !== null && _a !== void 0 ? _a : [];
        if (hand.length > 0) {
            const leftMost = hand[0];
            if (leftMost) {
                const refCard = input.gameState.allCards.getCard(leftMost.cardId);
                if ((refCard === null || refCard === void 0 ? void 0 : refCard.attack) != null) {
                    leftMost.attack = ((_c = (_b = leftMost.attack) !== null && _b !== void 0 ? _b : refCard.attack) !== null && _c !== void 0 ? _c : 0) + 3;
                    leftMost.health = ((_e = (_d = leftMost.health) !== null && _d !== void 0 ? _d : refCard.health) !== null && _e !== void 0 ? _e : 0) + 3;
                }
            }
        }
    },
};
//# sourceMappingURL=bluegill-flippers.js.map