_log.warning("PetSummon: failed set stats for summon " + npcId + ".");
return;
}
}
_player.sendPacket(new MagicSkillLaunched(_player.getObjectId(), 2046, 1, pet, true));
pet.spawnMe(GeoEngine.findPointToStay(_player.getX(), _player.getY(), _player.getZ(), MIN_RADIUS, MAX_RADIUS, _player.getReflection().getGeoIndex()));
pet.setRunning();
pet.setFollowStatus(true, true);
if (pet instanceof L2PetBabyInstance)
{
((L2PetBabyInstance) pet).startBuffTask();