"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimewarpedHyena = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.TimewarpedHyena = {
    cardIds: ["BG34_Giant_581", "BG34_Giant_581_G"],
    onAfterDeath: (minion, input) => {
        const mult = minion.cardId === "BG34_Giant_581_G" ? 2 : 1;
        for (const deadEntity of input.deadEntities) {
            if ((0, utils_1.hasCorrectTribe)(deadEntity, input.hero, reference_data_1.Race.BEAST, input.gameState.anomalies, input.gameState.allCards)) {
                (0, stats_1.modifyStats)(minion, minion, 2 * mult, 1 * mult, input.board, input.hero, input.gameState);
            }
        }
    },
};
//# sourceMappingURL=timewarped-hyena.js.map