From 92c05912e191a4b5c951ef747ebceff9b5c1ea8d Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 25 Oct 2015 11:55:47 +0100 Subject: [PATCH] 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 --- OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs b/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs index 2ea493e7db..925a85aaee 100644 --- a/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs @@ -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;