"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NalaaTheRedeemer = void 0;
const utils_1 = require("../../../utils");
exports.NalaaTheRedeemer = {
    cardIds: ["BG28_551", "BG28_551_G"],
    onTavernSpellCast: (minion, input) => {
        var _a;
        const mult = minion.cardId === "BG28_551_G" ? 2 : 1;
        const hasPortrait = (_a = input.hero.trinkets) === null || _a === void 0 ? void 0 : _a.some((t) => t.cardId === "BG30_MagicItem_944");
        const extraAtk = hasPortrait ? 2 : 0;
        const extraHp = hasPortrait ? 2 : 0;
        (0, utils_1.grantStatsToMinionsOfEachType)(minion, input.board, input.hero, 3 * mult + extraAtk, 2 * mult + extraHp, input.gameState);
    },
};
//# sourceMappingURL=nalaa-the-redeemer.js.map