Add damagetypes to repairing.

This commit is contained in:
Zimmermann Gyula
2020-02-23 17:23:20 +01:00
committed by atlimit8
parent ca3cfc0184
commit 9e534f3804
3 changed files with 10 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
*/
#endregion
using OpenRA.Primitives;
using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
@@ -23,6 +24,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Time (in ticks) between two repair steps.")]
public readonly int Interval = 24;
[Desc("Damage types used for the repair.")]
public readonly BitSet<DamageType> RepairDamageTypes = default(BitSet<DamageType>);
[NotificationReference("Speech")]
[Desc("The sound played when starting to repair a unit.")]
public readonly string StartRepairingNotification = null;