Remove negligible stages from default warhead Falloff
- reduces situations where infantry goes prone even though the impact was rather far away and damage absolutely negligible - saves a little bit of performance by reducing the total area of effect, resulting in lower average number of calls to Health.InflictDamage at a given Spread value
This commit is contained in:
@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Warheads
|
|||||||
public readonly WDist TargetExtraSearchRadius = new WDist(2048);
|
public readonly WDist TargetExtraSearchRadius = new WDist(2048);
|
||||||
|
|
||||||
[Desc("Damage percentage at each range step")]
|
[Desc("Damage percentage at each range step")]
|
||||||
public readonly int[] Falloff = { 100, 37, 14, 5, 2, 1, 0 };
|
public readonly int[] Falloff = { 100, 37, 14, 5, 0 };
|
||||||
|
|
||||||
[Desc("Ranges at which each Falloff step is defined. Overrides Spread.")]
|
[Desc("Ranges at which each Falloff step is defined. Overrides Spread.")]
|
||||||
public WDist[] Range = null;
|
public WDist[] Range = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user