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