diff --git a/Content.Shared/Damage/Systems/DamageableSystem.Events.cs b/Content.Shared/Damage/Systems/DamageableSystem.Events.cs index 3e985ba204..32c67fd0c2 100644 --- a/Content.Shared/Damage/Systems/DamageableSystem.Events.cs +++ b/Content.Shared/Damage/Systems/DamageableSystem.Events.cs @@ -219,11 +219,27 @@ public record struct BeforeDamageChangedEvent(DamageSpecifier Damage, EntityUid? public sealed class DamageModifyEvent(DamageSpecifier damage, EntityUid? origin = null) : EntityEventArgs, IInventoryRelayEvent { - // Whenever locational damage is a thing, this should just check only that bit of armour. + /// + /// + /// Whenever locational damage is a thing, this should just check only that bit of armor. + /// public SlotFlags TargetSlots => ~SlotFlags.POCKET; + /// + /// Contains the original damage, prior to any modifers. + /// public readonly DamageSpecifier OriginalDamage = damage; + + /// + /// Contains the damage after modifiers have been applied. + /// This is the damage that will be inflicted. + /// public DamageSpecifier Damage = damage; + + /// + /// Contains the entity which caused the damage, if any was responsible. + /// + public readonly EntityUid? Origin = origin; } public sealed class DamageChangedEvent : EntityEventArgs