"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BristlebackBully = void 0;
const taunt_1 = require("../../../keywords/taunt");
const cards_in_hand_1 = require("../../../simulation/cards-in-hand");
exports.BristlebackBully = {
    cardIds: ["BG35_432", "BG35_432_G"],
    onSpawned: (minion, input) => {
        if (!minion.taunt) {
            const otherHero = input.gameState.gameState.player.player === input.hero
                ? input.gameState.gameState.opponent.player
                : input.gameState.gameState.player.player;
            (0, taunt_1.updateTaunt)(minion, true, input.board, input.hero, otherHero, input.gameState);
        }
    },
    deathrattleSpawn: (minion, input) => {
        const mult = minion.cardId === "BG35_432_G" ? 2 : 1;
        const gem = "BG20_GEM_Taunt";
        (0, cards_in_hand_1.addCardsInHand)(input.boardWithDeadEntityHero, input.boardWithDeadEntity, Array(mult).fill(gem), input.gameState);
        return [];
    },
};
//# sourceMappingURL=bristleback-bully.js.map