"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PowderKegEnchantment = void 0;
const deathrattle_spawns_1 = require("../../../simulation/deathrattle-spawns");
exports.PowderKegEnchantment = {
    cardIds: ["BG35_MagicItem_714"],
    deathrattleSpawnEnchantmentEffect: (enchantment, minion, input) => {
        const spawns = (0, deathrattle_spawns_1.simplifiedSpawnEntities)("BGS_061t", 1, input);
        if (spawns.length > 0 && minion) {
            spawns[0].attack = minion.attack;
            spawns[0].attackImmediately = true;
        }
        return spawns;
    },
};
//# sourceMappingURL=powder-keg-enchantment.js.map