"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeartOfTheForest = void 0;
exports.HeartOfTheForest = {
    cardIds: ["BG32_MagicItem_801t"],
    afterTavernSpellCast: (trinket, input) => {
        var _a, _b, _c, _d, _e;
        input.hero.globalInfo.TavernSpellAttackBuff = ((_a = input.hero.globalInfo.TavernSpellAttackBuff) !== null && _a !== void 0 ? _a : 0) + 1;
        input.hero.globalInfo.TavernSpellHealthBuff = ((_b = input.hero.globalInfo.TavernSpellHealthBuff) !== null && _b !== void 0 ? _b : 0) + ((_c = trinket.scriptDataNum2) !== null && _c !== void 0 ? _c : 1);
        trinket.scriptDataNum1 = ((_d = trinket.scriptDataNum1) !== null && _d !== void 0 ? _d : 5) - 1;
        if (trinket.scriptDataNum1 <= 0) {
            trinket.scriptDataNum1 = 5;
            trinket.scriptDataNum2 = ((_e = trinket.scriptDataNum2) !== null && _e !== void 0 ? _e : 1) + 1;
        }
    },
};
//# sourceMappingURL=heart-of-the-forest.js.map