Make repairing buildings and units grant experience

Using the repair button and repair pad, not using engineers and mechanics.
This commit is contained in:
Oliver Brakmann
2016-07-10 15:08:37 +02:00
parent ac07c81e08
commit dab7276601
3 changed files with 23 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("The sound played when repairing a unit is done.")]
public readonly string FinishRepairingNotification = null;
[Desc("Experience gained by the player owning this actor for repairing an allied unit.")]
public readonly int PlayerExperience = 0;
}
public class RepairsUnits { }