diff --git a/Content.Server/Electrocution/ElectrocutionSystem.cs b/Content.Server/Electrocution/ElectrocutionSystem.cs index 00f947f6a3..811232a86a 100644 --- a/Content.Server/Electrocution/ElectrocutionSystem.cs +++ b/Content.Server/Electrocution/ElectrocutionSystem.cs @@ -130,6 +130,13 @@ namespace Content.Server.Electrocution if (!electrified.OnAttacked) return; + //Dont shock if the attacker used a toy + if (EntityManager.TryGetComponent(args.Used, out var meleeWeaponComponent)) + { + if (meleeWeaponComponent.Damage.Total == 0) + return; + } + TryDoElectrifiedAct(uid, args.User, 1, electrified); }