Add proper sound effects for the explorer's ring and fix leaf-bladed sword's sound effects.
This commit is contained in:
@@ -40,6 +40,7 @@ class ExplorersRingPlugin : InteractionListener() {
|
||||
return@on true
|
||||
}
|
||||
player.settings.updateRunEnergy(-50.0)
|
||||
player.audioManager.send(5035)
|
||||
|
||||
getStoreFile()[player.username.toLowerCase() + ":run"] = charges + 1
|
||||
|
||||
@@ -96,4 +97,4 @@ class ExplorersRingPlugin : InteractionListener() {
|
||||
fun getStoreFile(): JSONObject{
|
||||
return ServerStore.getArchive("daily-explorer-ring")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -582,7 +582,7 @@ public class TeleportManager {
|
||||
public boolean pulse() {
|
||||
if (delay == 0) {
|
||||
if (entity instanceof Player) {
|
||||
entity.asPlayer().getAudioManager().send(200);
|
||||
entity.asPlayer().getAudioManager().send(5036);
|
||||
}
|
||||
entity.getAnimator().forceAnimation(new Animation(getSettings().getStartEmote()));
|
||||
entity.graphics(new Graphics(getSettings().getStartGfx()));
|
||||
@@ -590,7 +590,7 @@ public class TeleportManager {
|
||||
entity.getProperties().setTeleportLocation(Location.create(location));
|
||||
fireRandom(entity, location);
|
||||
if (entity instanceof Player) {
|
||||
entity.asPlayer().getAudioManager().send(201);
|
||||
entity.asPlayer().getAudioManager().send(5034);
|
||||
}
|
||||
entity.getAnimator().forceAnimation(new Animation(getSettings().getEndEmote(), Priority.HIGH));
|
||||
entity.graphics(new Graphics(getSettings().getEndGfx()));
|
||||
|
||||
Reference in New Issue
Block a user