"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnholySanctum = void 0;
const stats_1 = require("../../../simulation/stats");
exports.UnholySanctum = {
    cardIds: ["BG32_MagicItem_862", "BG32_MagicItem_862t"],
    onDeathrattleTriggered: (trinket, input) => {
        const target = input.boardWithDeadEntity[input.boardWithDeadEntity.length - 1];
        if (!!target) {
            (0, stats_1.modifyStats)(target, trinket, trinket.cardId === "BG32_MagicItem_862" ? 3 : 6, trinket.cardId === "BG32_MagicItem_862" ? 2 : 4, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.gameState);
        }
    },
};
//# sourceMappingURL=unholy-sanctum.js.map