Fix energy swords healing blunt (#18753)

* esword fix

* comment
This commit is contained in:
Errant
2023-08-06 08:19:32 +00:00
committed by GitHub
parent f0364f10b9
commit 999fa62538

View File

@@ -52,8 +52,8 @@ public sealed class EnergySwordSystem : EntitySystem
if (!comp.Activated)
return;
// Overrides basic blunt damage with burn+slash as set in yaml
args.Damage = comp.LitDamageBonus;
// Adjusts base damage when the energy blade is active, by values set in yaml
args.Damage += comp.LitDamageBonus;
}
private void OnUseInHand(EntityUid uid, EnergySwordComponent comp, UseInHandEvent args)