"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TurquoiseSkitterer = void 0;
const deathrattle_spawns_1 = require("../../../simulation/deathrattle-spawns");
const stats_1 = require("../../../simulation/stats");
const atkBuff = 4;
const hpBuff = 4;
exports.TurquoiseSkitterer = {
    cardIds: ["BG31_809", "BG31_809_G"],
    deathrattleSpawn: (minion, input) => {
        const mult = minion.cardId === "BG31_809_G" ? 2 : 1;
        input.boardWithDeadEntityHero.globalInfo.BeetleAttackBuff =
            input.boardWithDeadEntityHero.globalInfo.BeetleAttackBuff + atkBuff * mult;
        input.boardWithDeadEntityHero.globalInfo.BeetleHealthBuff =
            input.boardWithDeadEntityHero.globalInfo.BeetleHealthBuff + hpBuff * mult;
        input.boardWithDeadEntity
            .filter((e) => ["BG28_603t", "BG28_603t_G"].includes(e.cardId))
            .forEach((e) => {
            (0, stats_1.modifyStats)(e, minion, atkBuff * mult, hpBuff * mult, input.boardWithDeadEntity, input.boardWithDeadEntityHero, input.gameState);
        });
        return (0, deathrattle_spawns_1.simplifiedSpawnEntities)("BG28_603t", mult, input);
    },
};
//# sourceMappingURL=turquoise-skitterer.js.map