"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BubbleCrown = void 0;
exports.BubbleCrown = {
    cardIds: ["BG35_MagicItem_920"],
    afterTavernSpellCast: (trinket, input) => {
        var _a, _b, _c;
        if (trinket.scriptDataNum6)
            return;
        trinket.scriptDataNum1 = ((_a = trinket.scriptDataNum1) !== null && _a !== void 0 ? _a : 10) - 1;
        if (trinket.scriptDataNum1 <= 0) {
            trinket.scriptDataNum6 = 1;
            input.hero.globalInfo.TavernSpellAttackBuff = ((_b = input.hero.globalInfo.TavernSpellAttackBuff) !== null && _b !== void 0 ? _b : 0) + 3;
            input.hero.globalInfo.TavernSpellHealthBuff = ((_c = input.hero.globalInfo.TavernSpellHealthBuff) !== null && _c !== void 0 ? _c : 0) + 3;
        }
    },
};
//# sourceMappingURL=bubble-crown.js.map