"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SilkyShimmermoth = void 0;
const deathrattle_spawns_1 = require("../../../simulation/deathrattle-spawns");
exports.SilkyShimmermoth = {
    cardIds: ["BG32_204", "BG32_204_G"],
    onStatsChanged: (minion, input) => {
        if (input.attackAmount <= 0 || input.target !== minion) {
            return;
        }
        const mult = minion.cardId === "BG32_204" ? 1 : 2;
        input.hero.globalInfo.BeetleAttackBuff += 3 * mult;
        input.hero.globalInfo.BeetleHealthBuff += 2 * mult;
    },
    deathrattleSpawn: (minion, input) => {
        const mult = minion.cardId === "BG32_204" ? 1 : 2;
        return (0, deathrattle_spawns_1.simplifiedSpawnEntities)("BG28_603t", 1 * mult, input);
    },
};
//# sourceMappingURL=silky-shimmermoth.js.map