EmissionTests: launcher row is 38 slots with the element id
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
60a78c2278
commit
c0c8b3bdf0
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ public sealed partial class ContactRevealTests
|
|||
reader = new MessagePackReader(bytes);
|
||||
Assert.Equal(2, reader.ReadArrayHeader());
|
||||
reader.Skip(); // the arm's union index
|
||||
Assert.Equal(37, reader.ReadArrayHeader()); // 35 and 36 are the weapon base's EffectiveRange and DamageAtMaxRange
|
||||
Assert.Equal(38, reader.ReadArrayHeader()); // 35 and 36 are the weapon base's EffectiveRange and DamageAtMaxRange, 37 the element id
|
||||
for (var slot = 0; slot < 34; slot++) reader.Skip();
|
||||
Assert.Equal(3f, MessagePackSerializer.Deserialize<PerformanceStat>(ref reader, EmissionWire).Min);
|
||||
Assert.Equal(3f, JObject.Parse(JsonConvert.SerializeObject(new LauncherData { InterceptFactor = Const(3) }))["interceptFactor"].ToObject<PerformanceStat>().Min);
|
||||
|
|
|
|||
Loading…
Reference in a new issue