Fix shield modifiers (#17071)

* use uid instead of .Owner

* a bit of refactoring

* block damage reimplemented
This commit is contained in:
Slava0135
2023-06-05 05:23:54 +03:00
committed by GitHub
parent c1644ccd48
commit 082d204173
3 changed files with 39 additions and 13 deletions

View File

@@ -313,10 +313,12 @@ namespace Content.Shared.Damage
// Whenever locational damage is a thing, this should just check only that bit of armour.
public SlotFlags TargetSlots { get; } = ~SlotFlags.POCKET;
public readonly DamageSpecifier OriginalDamage;
public DamageSpecifier Damage;
public DamageModifyEvent(DamageSpecifier damage)
{
OriginalDamage = damage;
Damage = damage;
}
}