Remove esword unneeded property
This commit is contained in:
@@ -18,9 +18,6 @@ namespace Content.Server.Weapon.Melee.EnergySword
|
||||
[DataField("cycleRate")]
|
||||
public float CycleRate = 1f;
|
||||
|
||||
[DataField("hitSound")]
|
||||
public SoundSpecifier HitSound { get; set; } = new SoundPathSpecifier("/Audio/Weapons/eblade1.ogg");
|
||||
|
||||
[DataField("activateSound")]
|
||||
public SoundSpecifier ActivateSound { get; set; } = new SoundPathSpecifier("/Audio/Weapons/ebladeon.ogg");
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ namespace Content.Server.Weapon.Melee.EnergySword
|
||||
|
||||
// Overrides basic blunt damage with burn+slash as set in yaml
|
||||
args.BonusDamage = comp.LitDamageBonus;
|
||||
args.HitSoundOverride = comp.HitSound;
|
||||
}
|
||||
|
||||
private void OnUseInHand(EntityUid uid, EnergySwordComponent comp, UseInHandEvent args)
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
shader: unshaded
|
||||
map: [ "blade" ]
|
||||
- type: MeleeWeapon
|
||||
hitSound:
|
||||
path: /Audio/Weapons/eblade1.ogg
|
||||
damage:
|
||||
types:
|
||||
Blunt: 7
|
||||
|
||||
Reference in New Issue
Block a user