}
L2MonsterInstance boss = ((L2MinionInstance) actor).getLeader();
if(boss != null && !boss.isDead())
{
Location loc = actor.getLoc();
L2MinionInstance newMinion = new L2MinionInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(Eidolon_ID), boss);
newMinion.setSpawnedLoc(loc);
newMinion.onSpawn();
newMinion.spawnMe(loc);
newMinion.getAI().setGlobalAggro(0);
newMinion.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, boss.getRandomHated(), 1);
MinionList ml = boss.getMinionList();
if(ml != null)
{
ml.addSpawnedMinion(newMinion);
}