"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KingBagurgle = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
const baseAttackBuff = 4;
const baseHealthBuff = 4;
exports.KingBagurgle = {
    cardIds: ["BGS_030", "TB_BaconUps_100"],
    battlecry: (minion, input) => {
        const mult = minion.cardId === "BGS_030" ? 1 : 2;
        const targets = [...input.board, ...input.hero.hand]
            .filter((e) => e.entityId !== minion.entityId)
            .filter((e) => (0, utils_1.hasCorrectTribe)(e, input.hero, reference_data_1.Race.MURLOC, input.gameState.anomalies, input.gameState.allCards));
        for (const entity of targets) {
            (0, stats_1.modifyStats)(entity, minion, baseAttackBuff * mult, baseHealthBuff * mult, input.board, input.hero, input.gameState);
        }
        return true;
    },
};
//# sourceMappingURL=king-bagurgle.js.map