diff --git a/OpenRA.Game/Traits/Health.cs b/OpenRA.Game/Traits/Health.cs index f40282cb8b..1f5283af8a 100755 --- a/OpenRA.Game/Traits/Health.cs +++ b/OpenRA.Game/Traits/Health.cs @@ -80,15 +80,15 @@ namespace OpenRA.Traits var oldState = this.DamageState; - /* apply the damage modifiers, if we have any. */ - var modifier = (float)self.TraitsImplementing() + /* apply the damage modifiers, if we have any. */ + var modifier = (float)self.TraitsImplementing().Concat(self.Owner.PlayerActor.TraitsImplementing()) .Select(t => t.GetDamageModifier(warhead)).Product(); damage = (int)(damage * modifier); - hp -= damage; - - foreach (var nd in self.TraitsImplementing()) + hp -= damage; + + foreach (var nd in self.TraitsImplementing().Concat(self.Owner.PlayerActor.TraitsImplementing())) nd.Damaged(self, new AttackInfo { Attacker = attacker,