From d0bbbb0a1dc6758bc827e399c9485d3436e892c5 Mon Sep 17 00:00:00 2001 From: B1G-FUNGUS Date: Mon, 4 Oct 2021 10:06:52 -0700 Subject: [PATCH] Added Ender Dragon and Cave Noise sounds --- .../java/top/penowl/quidproquo/rituals/SoundRitual.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/top/penowl/quidproquo/rituals/SoundRitual.java b/src/main/java/top/penowl/quidproquo/rituals/SoundRitual.java index 8ec7a07..d454b29 100644 --- a/src/main/java/top/penowl/quidproquo/rituals/SoundRitual.java +++ b/src/main/java/top/penowl/quidproquo/rituals/SoundRitual.java @@ -20,7 +20,7 @@ public class SoundRitual extends Ritual { @Override public void execute(Player caster, Player target, Location location) { Sound randomSound; - int randomInt = new Random().nextInt(13); + int randomInt = new Random().nextInt(15); switch (randomInt) { case 0: randomSound = Sound.STEP_STONE; @@ -58,6 +58,12 @@ public class SoundRitual extends Ritual { case 11: randomSound = Sound.STEP_GRASS; break; + case 12: + randomSound = Sound.ENDERDRAGON_GROWL; + break; + case 13: + randomSound = Sound.AMBIENCE_CAVE; + break; default: randomSound = Sound.ZOMBIE_HURT; break;