"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MiniatureShip = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const stats_1 = require("../../../simulation/stats");
const utils_1 = require("../../../utils");
exports.MiniatureShip = {
    cardIds: ["BG35_MagicItem_710"],
    afterTavernSpellCast: (trinket, input) => {
        for (const entity of input.board) {
            if (entity.health <= 0 || entity.definitelyDead)
                continue;
            if ((0, utils_1.hasCorrectTribe)(entity, input.hero, reference_data_1.Race.PIRATE, input.gameState.anomalies, input.gameState.allCards)) {
                (0, stats_1.modifyStats)(entity, trinket, 2, 2, input.board, input.hero, input.gameState);
            }
        }
    },
};
//# sourceMappingURL=miniature-ship.js.map