"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.QueensCommand = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.QueensCommand = {
    cardIds: ["BG35_922", "BG35_922_G"],
    castTavernSpell: (spellCardId, input) => {
        const mult = spellCardId === "BG35_922_G" ? 2 : 1;
        for (const e of input.board) {
            if (e.health <= 0 || e.definitelyDead) {
                continue;
            }
            (0, stats_1.modifyStats)(e, input.source, 3 * mult, 3 * mult, input.board, input.hero, input.gameState);
            if ((0, utils_1.hasCorrectTribe)(e, input.hero, reference_data_1.Race.NAGA, input.gameState.anomalies, input.gameState.allCards)) {
                (0, stats_1.modifyStats)(e, input.source, 3 * mult, 3 * mult, input.board, input.hero, input.gameState);
            }
        }
    },
};
//# sourceMappingURL=queens-command.js.map