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

@@ -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;