Merge branch 'main' of github.com:PenguinOwl/QuidProQuo
This commit is contained in:
commit
f7bce13511
@ -20,7 +20,7 @@ public class SoundRitual extends Ritual {
|
|||||||
@Override
|
@Override
|
||||||
public void execute(Player caster, Player target, Location location) {
|
public void execute(Player caster, Player target, Location location) {
|
||||||
Sound randomSound;
|
Sound randomSound;
|
||||||
int randomInt = new Random().nextInt(13);
|
int randomInt = new Random().nextInt(15);
|
||||||
switch (randomInt) {
|
switch (randomInt) {
|
||||||
case 0:
|
case 0:
|
||||||
randomSound = Sound.STEP_STONE;
|
randomSound = Sound.STEP_STONE;
|
||||||
@ -58,6 +58,12 @@ public class SoundRitual extends Ritual {
|
|||||||
case 11:
|
case 11:
|
||||||
randomSound = Sound.STEP_GRASS;
|
randomSound = Sound.STEP_GRASS;
|
||||||
break;
|
break;
|
||||||
|
case 12:
|
||||||
|
randomSound = Sound.ENDERDRAGON_GROWL;
|
||||||
|
break;
|
||||||
|
case 13:
|
||||||
|
randomSound = Sound.AMBIENCE_CAVE;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
randomSound = Sound.ZOMBIE_HURT;
|
randomSound = Sound.ZOMBIE_HURT;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user