Move AirThreshold to Warhead

To reduce duplication and for later use in more warheads.
This commit is contained in:
reaperrr
2020-05-08 12:08:52 +02:00
committed by abcdefg30
parent de81fc2aca
commit 2bdefe0e9e
3 changed files with 3 additions and 7 deletions

View File

@@ -44,10 +44,6 @@ namespace OpenRA.Mods.Common.Warheads
[Desc("Chance of impact sound to play.")]
public readonly int ImpactSoundChance = 100;
[Desc("Consider explosion above this altitude an air explosion.",
"If that's the case, this warhead will consider the explosion position to have the 'Air' TargetType (in addition to any nearby actor's TargetTypes).")]
public readonly WDist AirThreshold = new WDist(128);
[Desc("Whether to consider actors in determining whether the explosion should happen. If false, only terrain will be considered.")]
public readonly bool ImpactActors = true;