"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"],
    castTavernSpell: (spellCardId, input) => {
        const mult = 1;
        const { attack, health } = (0, utils_1.withTavernSpellStatBuff)(input.hero, 2 * mult, 2 * mult, input.gameState.allCards, input.spellCardId);
        for (const e of input.board) {
            if (e.health <= 0 || e.definitelyDead) {
                continue;
            }
            (0, stats_1.modifyStats)(e, input.source, attack, health, 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, attack, health, input.board, input.hero, input.gameState);
            }
        }
    },
};
//# sourceMappingURL=queens-command.js.map