feat: 新增轻型地基火力单元模板(2炮×4通道); Piston测试使用 ground-light×2
This commit is contained in:
parent
c08edbd2f9
commit
08427e9e08
@ -14,6 +14,21 @@
|
||||
"EORange": 8000.0,
|
||||
"IRRange": 5000.0
|
||||
},
|
||||
{
|
||||
"Id": "ground-light",
|
||||
"Name": "轻型地基火力单元",
|
||||
"PlatformType": 1,
|
||||
"GunCount": 2,
|
||||
"ChannelsPerGun": 4,
|
||||
"ChannelInterval": 1.0,
|
||||
"Cooldown": 5.0,
|
||||
"AmmoChangeTime": 30.0,
|
||||
"MuzzleVelocity": 800.0,
|
||||
"AmmoTypes": [0, 1],
|
||||
"RadarRange": 10000.0,
|
||||
"EORange": 6000.0,
|
||||
"IRRange": 3000.0
|
||||
},
|
||||
{
|
||||
"Id": "ground-heavy",
|
||||
"Name": "重型地基火力单元",
|
||||
|
||||
@ -13,6 +13,22 @@ namespace CounterDrone.Core
|
||||
if (_cache != null) return _cache;
|
||||
_cache = new List<FireUnitTemplate>
|
||||
{
|
||||
new FireUnitTemplate
|
||||
{
|
||||
Id = "ground-light",
|
||||
Name = "轻型地基火力单元",
|
||||
PlatformType = 1,
|
||||
GunCount = 2,
|
||||
ChannelsPerGun = 4,
|
||||
ChannelInterval = 1.0,
|
||||
Cooldown = 5.0,
|
||||
AmmoChangeTime = 30.0,
|
||||
MuzzleVelocity = 800.0,
|
||||
AmmoTypes = new() { 0, 1 },
|
||||
RadarRange = 10000.0,
|
||||
EORange = 6000.0,
|
||||
IRRange = 3000.0,
|
||||
},
|
||||
new FireUnitTemplate
|
||||
{
|
||||
Id = "ground-standard",
|
||||
|
||||
Binary file not shown.
@ -197,7 +197,7 @@ namespace CounterDrone.Core.Tests
|
||||
});
|
||||
_scenario.SaveDeployment(_taskId, new List<EquipmentDeployment>
|
||||
{
|
||||
MakeEquipment(DefaultFireUnits.GetById("ground-standard"), AerosolType.InertGas, 1, 5000, 0, 50),
|
||||
MakeEquipment(DefaultFireUnits.GetById("ground-light"), AerosolType.InertGas, 2, 5000, 0, 50),
|
||||
});
|
||||
_scenario.SaveCloudDispersal(_taskId, new CloudDispersal { AerosolType = (int)AerosolType.InertGas, DisperseHeight = 500 });
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user