"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BloodGemQuilboarTauntSpell = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const taunt_1 = require("../../../keywords/taunt");
const blood_gems_1 = require("../../../simulation/blood-gems");
const utils_1 = require("../../../utils");
exports.BloodGemQuilboarTauntSpell = {
    cardIds: ["BG20_GEM_Taunt", "BG20_GEM_Taunt_G"],
    castTavernSpell: (spellCardId, input) => {
        const mult = spellCardId === "BG20_GEM_Taunt_G" ? 2 : 1;
        (0, blood_gems_1.playBloodGemsOn)(input.source, input.target, mult, input.board, input.hero, input.otherBoard, input.otherHero, input.gameState);
        if ((0, utils_1.hasCorrectTribe)(input.target, input.hero, reference_data_1.Race.QUILBOAR, input.gameState.anomalies, input.gameState.allCards)) {
            (0, taunt_1.updateTaunt)(input.target, true, input.board, input.hero, input.otherHero, input.gameState);
        }
    },
};
//# sourceMappingURL=blood-gem-quilboar-taunt.js.map