"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimewarpedCaretaker = void 0;
const deathrattle_spawns_1 = require("../../../simulation/deathrattle-spawns");
const global_info_helpers_1 = require("../../../simulation/global-info-helpers");
exports.TimewarpedCaretaker = {
    cardIds: ["BG34_Giant_618", "BG34_Giant_618_G"],
    deathrattleSpawn: (minion, input) => {
        const mult = minion.cardId === "BG34_Giant_618_G" ? 2 : 1;
        const spawns = (0, deathrattle_spawns_1.simplifiedSpawnEntities)("BG_ICC_026t", 5 * mult, input);
        spawns.forEach((e) => {
            e.onCanceledSummon = () => {
                (0, global_info_helpers_1.increaseUndeadAttackBonus)(minion, input.boardWithDeadEntity, input.boardWithDeadEntityHero, 1, input.gameState);
            };
        });
        return spawns;
    },
};
//# sourceMappingURL=timewarped-caretaker.js.map