Make Licoxide bypass insulated gloves (#10949)

This commit is contained in:
0x6273
2022-09-06 04:48:35 +02:00
committed by GitHub
parent 1121470930
commit 29fd76c45d
5 changed files with 22 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ public sealed class Electrocute : ReagentEffect
public override void Effect(ReagentEffectArgs args)
{
EntitySystem.Get<ElectrocutionSystem>().TryDoElectrocution(args.SolutionEntity, null,
Math.Max((args.Quantity * ElectrocuteDamageScale).Int(), 1), TimeSpan.FromSeconds(ElectrocuteTime), Refresh);
Math.Max((args.Quantity * ElectrocuteDamageScale).Int(), 1), TimeSpan.FromSeconds(ElectrocuteTime), Refresh, ignoreInsulation: true);
args.Source?.RemoveReagent(args.Reagent.ID, args.Quantity);
}