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:
reaperrr
2015-10-25 11:55:47 +01:00
parent 8e6c5cef74
commit 92c05912e1

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Warheads
public readonly WDist TargetExtraSearchRadius = new WDist(2048);
[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.")]
public WDist[] Range = null;