various fixes towards LegacyCapture
- sniper using Captures, but churches using LegacyCapturable - unable to parse CaptureThreshold/SabotageHPRemoval from yaml - not firing up INotifyCapture and breaking: * sniper transforming the church on capture in ra * proc not giving away it's contents in cnc
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRA.Mods.RA
|
||||
public readonly bool AllowNeutral = true;
|
||||
public readonly bool AllowEnemies = true;
|
||||
[Desc("Health percentage the target must be at (or below) before it can be captured.")]
|
||||
public readonly double CaptureThreshold = 0.5;
|
||||
public readonly float CaptureThreshold = 0.5f;
|
||||
|
||||
public object Create(ActorInitializer init) { return new LegacyCapturable(init.self, this); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user