Increase chance of damage when traversing long links.
This commit is contained in:
		@@ -1830,6 +1830,10 @@ namespace EduNetworkBuilder
 | 
			
		||||
        {
 | 
			
		||||
            return Math.Sqrt(Math.Pow((start.X - dest.X),2) + Math.Pow((start.Y - dest.Y),2)) / 5;  //use grid size...
 | 
			
		||||
        }
 | 
			
		||||
        public double pixeldistance(Point start, Point dest)
 | 
			
		||||
        {
 | 
			
		||||
            return Math.Sqrt(Math.Pow((start.X - dest.X), 2) + Math.Pow((start.Y - dest.Y), 2));  //pixel size, not grid size
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public double distance(NetworkDevice start, NetworkDevice dest)
 | 
			
		||||
        {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user