diff --git a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs index e2ea1c2b00..a59a72438d 100644 --- a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs @@ -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; diff --git a/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs b/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs index d006a16311..e2982687d5 100644 --- a/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs @@ -26,9 +26,6 @@ namespace OpenRA.Mods.Common.Warheads [Desc("Type of smudge to apply to terrain.")] public readonly HashSet SmudgeType = new HashSet(); - [Desc("How close to ground must the impact happen to spawn smudges.")] - public readonly WDist AirThreshold = new WDist(128); - [Desc("Percentual chance the smudge is created.")] public readonly int Chance = 100; diff --git a/OpenRA.Mods.Common/Warheads/Warhead.cs b/OpenRA.Mods.Common/Warheads/Warhead.cs index e3f69b5638..48f180acb2 100644 --- a/OpenRA.Mods.Common/Warheads/Warhead.cs +++ b/OpenRA.Mods.Common/Warheads/Warhead.cs @@ -46,6 +46,9 @@ namespace OpenRA.Mods.Common.Warheads [Desc("Can this warhead affect the actor that fired it.")] public readonly bool AffectsParent = false; + [Desc("If impact is above this altitude, warheads that would affect terrain ignore terrain target types (and either do nothing or perform their own checks).")] + public readonly WDist AirThreshold = new WDist(128); + [Desc("Delay in ticks before applying the warhead effect.", "0 = instant (old model).")] public readonly int Delay = 0;