Remove esword unneeded property

This commit is contained in:
metalgearsloth
2022-05-16 15:50:11 +10:00
parent 9d2a395be0
commit 527eabc677
3 changed files with 2 additions and 4 deletions

View File

@@ -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");

View File

@@ -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)

View File

@@ -21,6 +21,8 @@
shader: unshaded
map: [ "blade" ]
- type: MeleeWeapon
hitSound:
path: /Audio/Weapons/eblade1.ogg
damage:
types:
Blunt: 7