"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BronzeChromadrake = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.BronzeChromadrake = {
    cardIds: ["BG34_637", "BG34_637_G"],
    battlecry: (minion, input) => {
        const mult = minion.cardId === "BG34_637_G" ? 2 : 1;
        const stats = 5 * mult;
        for (const e of input.board) {
            if (e.entityId === minion.entityId) {
                continue;
            }
            if ((0, utils_1.hasCorrectTribe)(e, input.hero, reference_data_1.Race.DRAGON, input.gameState.anomalies, input.gameState.allCards)) {
                (0, stats_1.modifyStats)(e, minion, stats, 0, input.board, input.hero, input.gameState);
            }
        }
        return true;
    },
};
//# sourceMappingURL=bronze-chromadrake.js.map