"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShipJumper = void 0;
const deathrattle_spawns_1 = require("../../../simulation/deathrattle-spawns");
exports.ShipJumper = {
    cardIds: ["BG35_700", "BG35_700_G"],
    deathrattleSpawn: (minion, input) => {
        const golden = minion.cardId === "BG35_700_G";
        const tokenId = golden
            ? "TB_BaconUps_141t"
            : "BGS_061t";
        const spawns = (0, deathrattle_spawns_1.spawnEntities)(tokenId, 1, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.otherBoard, input.otherBoardHero, input.gameState, input.deadEntity.friendly, false, false, true);
        for (const s of spawns) {
            const bonusAtk = golden ? 2 * minion.attack : minion.attack;
            s.attack = s.attack + bonusAtk;
            s.maxAttack = s.attack;
            s.attackImmediately = true;
        }
        return spawns;
    },
};
//# sourceMappingURL=ship-jumper.js.map