"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WaveOfGold = void 0;
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.WaveOfGold = {
    cardIds: ["BG34_990"],
    castTavernSpell: (spellCardId, input) => {
        const { attack, health } = (0, utils_1.withTavernSpellStatBuff)(input.hero, 3, 2, input.gameState.allCards, input.spellCardId);
        (0, utils_1.addStatsToBoard)(input.source, input.board, input.hero, attack, health, input.gameState);
        const goldenMinions = input.board.filter((e) => (0, utils_1.isGolden)(e.cardId, input.gameState.allCards));
        for (const target of goldenMinions) {
            (0, stats_1.modifyStats)(target, input.source, attack, health, input.board, input.hero, input.gameState);
        }
    },
};
//# sourceMappingURL=wave-of-gold.js.map