"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimewarpedMurcules = void 0;
const stats_1 = require("../../../simulation/stats");
exports.TimewarpedMurcules = {
    cardIds: ["BG34_Giant_207", "BG34_Giant_207_G"],
    onMinionKilled: (minion, input) => {
        if (input.killer !== minion) {
            return { dmgDoneByAttacker: 0, dmgDoneByDefender: 0 };
        }
        const mult = minion.cardId === "BG34_Giant_207_G" ? 2 : 1;
        const murculesTarget = input.attackingHero.hand.filter((e) => !!(e === null || e === void 0 ? void 0 : e.cardId) && !!e.maxHealth)[0];
        if (murculesTarget) {
            (0, stats_1.modifyStats)(murculesTarget, minion, 3 * mult, 3 * mult, input.attackingBoard, input.attackingHero, input.gameState);
        }
        return { dmgDoneByAttacker: 0, dmgDoneByDefender: 0 };
    },
};
//# sourceMappingURL=timewarped-murcules.js.map