"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CopperCoil = void 0;
exports.CopperCoil = {
    cardIds: ["BG35_MagicItem_300", "BG35_MagicItem_300t"],
    onBeforeMagnetize: (trinket, input) => {
        var _a, _b, _c, _d;
        const additionalAttackBuff = trinket.cardId === "BG35_MagicItem_300" ? 2 : 3;
        const additionalHealthBuff = trinket.cardId === "BG35_MagicItem_300" ? 1 : 3;
        const currentAttackBuff = (_a = trinket.scriptDataNum1) !== null && _a !== void 0 ? _a : additionalAttackBuff;
        const currentHealthBuff = (_b = trinket.scriptDataNum2) !== null && _b !== void 0 ? _b : additionalHealthBuff;
        input.magnetizedCard.attack += currentAttackBuff;
        input.magnetizedCard.health += currentHealthBuff;
        trinket.scriptDataNum1 = ((_c = trinket.scriptDataNum1) !== null && _c !== void 0 ? _c : 0) + additionalAttackBuff;
        trinket.scriptDataNum2 = ((_d = trinket.scriptDataNum2) !== null && _d !== void 0 ? _d : 0) + additionalHealthBuff;
    },
};
//# sourceMappingURL=copper-coil.js.map