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