From dd2927513b9f4d50b75a5bec7d16df1b65426992 Mon Sep 17 00:00:00 2001 From: Ryan <2804894-ryannathans@users.noreply.gitlab.com> Date: Mon, 24 Jan 2022 22:20:13 +0000 Subject: [PATCH] fixed ruby bolt (e) sound effects --- .../node/entity/combat/equipment/BoltEffect.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Server/src/main/java/core/game/node/entity/combat/equipment/BoltEffect.java b/Server/src/main/java/core/game/node/entity/combat/equipment/BoltEffect.java index 8e57e735f..6071dae75 100644 --- a/Server/src/main/java/core/game/node/entity/combat/equipment/BoltEffect.java +++ b/Server/src/main/java/core/game/node/entity/combat/equipment/BoltEffect.java @@ -111,7 +111,7 @@ public enum BoltEffect { super.impact(state); } }, - RUBY(9242, new Graphics(754), new Audio(2915)) { // should be sound 2911 but it bugs out + RUBY(9242, new Graphics(754), new Audio(2911, 1)) { // in this case, volume is the number of times to play the sound... @Override public void impact(BattleState state) { // hit target for 20% of their HP, hit self for 10% of HP @@ -213,21 +213,12 @@ public enum BoltEffect { * @param graphics the graphics. * @param sound the sound. */ - private BoltEffect(int itemId, Graphics graphics, Audio sound) { + BoltEffect(int itemId, Graphics graphics, Audio sound) { this.itemId = itemId; this.graphics = graphics; this.sound = sound; } - /** - * Constructs a new {@Code BoltEffect} {@Code Object} - * @param itemId the id. - * @param graphics the graphics. - */ - private BoltEffect(int itemId, Graphics graphics) { - this(itemId, graphics, null); - } - /** * Handles the impact. * @param state the battle state.