Fix IDE0090
This commit is contained in:
@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Projectiles
|
||||
public class AreaBeamInfo : IProjectileInfo
|
||||
{
|
||||
[Desc("Projectile speed in WDist / tick, two values indicate a randomly picked velocity per beam.")]
|
||||
public readonly WDist[] Speed = { new WDist(128) };
|
||||
public readonly WDist[] Speed = { new(128) };
|
||||
|
||||
[Desc("The maximum duration (in ticks) of each beam burst.")]
|
||||
public readonly int Duration = 10;
|
||||
@@ -49,7 +49,7 @@ namespace OpenRA.Mods.Common.Projectiles
|
||||
public readonly int[] Falloff = { 100, 100 };
|
||||
|
||||
[Desc("Ranges at which each Falloff step is defined.")]
|
||||
public readonly WDist[] Range = { WDist.Zero, new WDist(int.MaxValue) };
|
||||
public readonly WDist[] Range = { WDist.Zero, new(int.MaxValue) };
|
||||
|
||||
[Desc("The maximum/constant/incremental inaccuracy used in conjunction with the InaccuracyType property.")]
|
||||
public readonly WDist Inaccuracy = WDist.Zero;
|
||||
|
||||
Reference in New Issue
Block a user