Added Bat takeoff sound when using a Chimaera Wing

This commit is contained in:
TfT_02 2013-03-14 22:26:02 +01:00
parent 0292d3eefb
commit 69bf17a619
2 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public final class ChimaeraWing {
UserManager.getPlayer(player).actualizeLastChimaeraTeleport();
MetricsManager.chimeraWingUsed();
player.playSound(location, Sound.BAT_TAKEOFF, Misc.BAT_VOLUME, Misc.BAT_PITCH);
player.sendMessage(LocaleLoader.getString("Item.ChimaeraWing.Pass"));
}
}

View File

@ -26,6 +26,8 @@ public final class Misc {
public static final float FIZZ_VOLUME = 0.5F;
public static final float POP_PITCH = ((getRandom().nextFloat() - getRandom().nextFloat()) * 0.7F + 1.0F) * 2.0F;
public static final float POP_VOLUME = 0.2F;
public static final float BAT_VOLUME = 1.0F;
public static final float BAT_PITCH = 0.6F;
private Misc() {};