"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BloodsnoutWarlord = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const blood_gems_1 = require("../../../simulation/blood-gems");
const utils_1 = require("../../../utils");
exports.BloodsnoutWarlord = {
    cardIds: ["BG33_884", "BG33_884_G"],
    onWheneverAnotherMinionAttacks: (minion, input) => {
        if ((0, utils_1.hasEntityMechanic)(input.attacker, reference_data_1.GameTag.BACON_RALLY, input.gameState.allCards)) {
            const mult = minion.cardId === "BG33_884_G" ? 2 : 1;
            for (const target of input.attackingBoard) {
                (0, blood_gems_1.playBloodGemsOn)(minion, target, 2 * mult, input.attackingBoard, input.attackingHero, input.defendingBoard, input.defendingHero, input.gameState);
            }
        }
        return { dmgDoneByAttacker: 0, dmgDoneByDefender: 0 };
    },
};
//# sourceMappingURL=bloodsnout-warlord.js.map