Fix typo in HarvesterAttackNotifier
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public readonly int RadarPingDuration = 250;
|
public readonly int RadarPingDuration = 250;
|
||||||
|
|
||||||
[Desc("Exclude damage types (defined on the warheads) that trigger Notification.")]
|
[Desc("Exclude damage types (defined on the warheads) that trigger Notification.")]
|
||||||
public readonly BitSet<DamageType> ExludeDamageTypes = default;
|
public readonly BitSet<DamageType> ExcludeDamageTypes = default;
|
||||||
|
|
||||||
[NotificationReference("Speech")]
|
[NotificationReference("Speech")]
|
||||||
[Desc("Speech notification type to play.")]
|
[Desc("Speech notification type to play.")]
|
||||||
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
void INotifyDamage.Damaged(Actor self, AttackInfo e)
|
void INotifyDamage.Damaged(Actor self, AttackInfo e)
|
||||||
{
|
{
|
||||||
if (!info.ExludeDamageTypes.IsEmpty && e.Damage.DamageTypes.Overlaps(info.ExludeDamageTypes))
|
if (!info.ExcludeDamageTypes.IsEmpty && e.Damage.DamageTypes.Overlaps(info.ExcludeDamageTypes))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Don't track self-damage
|
// Don't track self-damage
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ Player:
|
|||||||
Prerequisites: global-auto-concrete
|
Prerequisites: global-auto-concrete
|
||||||
FrozenActorLayer:
|
FrozenActorLayer:
|
||||||
HarvesterAttackNotifier:
|
HarvesterAttackNotifier:
|
||||||
ExludeDamageTypes: SpiceExplosion
|
ExcludeDamageTypes: SpiceExplosion
|
||||||
TextNotification: notification-harvester-under-attack
|
TextNotification: notification-harvester-under-attack
|
||||||
PlayerStatistics:
|
PlayerStatistics:
|
||||||
PlaceBeacon:
|
PlaceBeacon:
|
||||||
|
|||||||
Reference in New Issue
Block a user