Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly int AttackPanicChance = 20;
|
||||
|
||||
[Desc("The terrain types that this actor should avoid running on to while panicking.")]
|
||||
public readonly HashSet<string> AvoidTerrainTypes = new HashSet<string>();
|
||||
public readonly HashSet<string> AvoidTerrainTypes = new();
|
||||
|
||||
[SequenceReference(prefix: true)]
|
||||
public readonly string PanicSequencePrefix = "panic-";
|
||||
|
||||
@@ -31,10 +31,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly BitSet<DamageType> DamageTriggers = default;
|
||||
|
||||
[Desc("Damage modifiers for each damage type (defined on the warheads) while the unit is prone.")]
|
||||
public readonly Dictionary<string, int> DamageModifiers = new Dictionary<string, int>();
|
||||
public readonly Dictionary<string, int> DamageModifiers = new();
|
||||
|
||||
[Desc("Muzzle offset modifier to apply while prone.")]
|
||||
public readonly WVec ProneOffset = new WVec(500, 0, 0);
|
||||
public readonly WVec ProneOffset = new(500, 0, 0);
|
||||
|
||||
[SequenceReference(prefix: true)]
|
||||
[Desc("Sequence prefix to apply while prone.")]
|
||||
|
||||
Reference in New Issue
Block a user