Add ConsumedByCapture flag to emulate legacy external behaviour.

This commit is contained in:
Paul Chote
2018-09-29 20:48:39 +00:00
committed by abcdefg30
parent 4d2f1f8942
commit 50423b13fb
3 changed files with 39 additions and 14 deletions

View File

@@ -35,6 +35,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Delay (in ticks) that to wait next to the target before initiating the capture.")]
public readonly int CaptureDelay = 0;
[Desc("Enter the target actor and be consumed by the capture.")]
public readonly bool ConsumedByCapture = true;
[Desc("Experience granted to the capturing player.")]
public readonly int PlayerExperience = 0;