"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Mishmash = void 0;
const stats_1 = require("../../../simulation/stats");
exports.Mishmash = {
    cardIds: ["TB_BaconShop_HERO_33_Buddy", "TB_BaconShop_HERO_33_Buddy_G"],
    onStatsChanged: (minion, input) => {
        if (isAmalgam(input.target)) {
            const mult = input.target.cardId === "TB_BaconShop_HERO_33_Buddy_G" ? 2 : 1;
            (0, stats_1.modifyStats)(minion, minion, input.attackAmount * mult, input.healthAmount * mult, input.board, input.hero, input.gameState);
        }
    },
};
const isAmalgam = (entity) => {
    return [
        "TB_BaconShop_HP_033t",
        "TB_BaconShop_HP_033t_G",
        "TB_BaconShop_HP_033t_SKIN_A",
        "TB_BaconShop_HP_033t_SKIN_A_G",
        "TB_BaconShop_HP_033t_SKIN_D",
        "TB_BaconShop_HP_033t_SKIN_D_G",
    ].includes(entity.cardId);
};
//# sourceMappingURL=mishmash.js.map