Make Licoxide bypass insulated gloves (#10949)
This commit is contained in:
@@ -4,15 +4,16 @@ namespace Content.Shared.Electrocution
|
||||
{
|
||||
public sealed class ElectrocutionAttemptEvent : CancellableEntityEventArgs, IInventoryRelayEvent
|
||||
{
|
||||
public SlotFlags TargetSlots { get; } = ~SlotFlags.POCKET;
|
||||
public SlotFlags TargetSlots { get; }
|
||||
|
||||
public readonly EntityUid TargetUid;
|
||||
public readonly EntityUid? SourceUid;
|
||||
public float SiemensCoefficient = 1f;
|
||||
|
||||
public ElectrocutionAttemptEvent(EntityUid targetUid, EntityUid? sourceUid, float siemensCoefficient)
|
||||
public ElectrocutionAttemptEvent(EntityUid targetUid, EntityUid? sourceUid, float siemensCoefficient, SlotFlags targetSlots)
|
||||
{
|
||||
TargetUid = targetUid;
|
||||
TargetSlots = TargetSlots;
|
||||
SourceUid = sourceUid;
|
||||
SiemensCoefficient = siemensCoefficient;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user