|
@@ -123,7 +123,7 @@ public class AircraftLandSJ : AircraftEntity
|
|
|
FlightPlanEditor.targetpoint[0].TargetPointHeight);
|
|
|
|
|
|
string cityName = helper.getCityName(targetPoint.x,targetPoint.y);
|
|
|
- var visibility = helper.getVisibility(cityName, DateTime.Now.ToString("yyyy-MM-dd HH"));
|
|
|
+ var visibility = 10;//helper.getVisibility(cityName, DateTime.Now.ToString("yyyy-MM-dd HH"));
|
|
|
|
|
|
getNCData = new GetNCData();
|
|
|
getNCData.GetData();
|
|
@@ -173,12 +173,12 @@ public class AircraftLandSJ : AircraftEntity
|
|
|
probability -= 0.5f;
|
|
|
|
|
|
probability *= random.NextDouble();
|
|
|
- double random1 = random.NextInt64(8000,10000); // 生成随机数比较概率 调整概率使任务成功率降低 至 5%(0.05) 第一个参数越低概率越低
|
|
|
+ double random1 = random.NextInt64(1000,9200); // 生成随机数比较概率 调整概率使任务成功率降低 至 5%(0.05) 第一个参数越低概率越低
|
|
|
random1 /= 10000;
|
|
|
probability += (0.5 * random1);
|
|
|
}
|
|
|
|
|
|
- double randomValue = random.NextInt64(9600,10000); // 生成随机数比较概率 调整概率使任务成功率降低 至 5%(0.05) 第一个参数越高概率越低
|
|
|
+ double randomValue = random.NextInt64(9015,10000); // 生成随机数比较概率 调整概率使任务成功率降低 至 5%(0.05) 第一个参数越高概率越低
|
|
|
randomValue /= 10000;
|
|
|
|
|
|
Log.Info(
|