"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BananaSlamma = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.BananaSlamma = {
    cardIds: ["BG26_802", "BG26_802_G"],
    afterOtherSpawned: (minion, input) => {
        const { spawned, board, hero, gameState } = input;
        const slam = minion;
        if (!spawned || spawned.entityId === slam.entityId) {
            return;
        }
        if (!(0, utils_1.hasCorrectTribe)(spawned, hero, reference_data_1.Race.BEAST, gameState.anomalies, gameState.allCards)) {
            return;
        }
        const mult = slam.cardId === "BG26_802_G" ? 3 : 2;
        (0, stats_1.setEntityStats)(spawned, spawned.attack * mult, spawned.health, board, hero, gameState);
        gameState.spectator.registerPowerTarget(slam, spawned, board, null, null);
    },
};
//# sourceMappingURL=banana-slamma.js.map