mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Add proper sound effects for the explorer's ring and fix leaf-bladed sword's sound effects.
This commit is contained in:
parent
eb73b64137
commit
913173a3bd
6 changed files with 9 additions and 5 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -44,4 +44,6 @@ gradle
|
||||||
.idea/
|
.idea/
|
||||||
Server/worldprops/
|
Server/worldprops/
|
||||||
Management-Server/managementprops/
|
Management-Server/managementprops/
|
||||||
/Development-Client/
|
/Development-Client/
|
||||||
|
**/*.swp
|
||||||
|
**/*.swo
|
||||||
|
|
|
||||||
|
|
@ -79,3 +79,4 @@
|
||||||
- Server configuration language has been changed from JSON to TOML.
|
- Server configuration language has been changed from JSON to TOML.
|
||||||
- Add Family Crest quest.
|
- Add Family Crest quest.
|
||||||
- Add mort myre stems and pears to bloom's effect, and add the sound effect for bloom.
|
- Add mort myre stems and pears to bloom's effect, and add the sound effect for bloom.
|
||||||
|
- Add proper sound effects for the explorer's ring and fix leaf-bladed sword's sound effects.
|
||||||
|
|
|
||||||
|
|
@ -121199,7 +121199,7 @@
|
||||||
"high_alchemy": "40800",
|
"high_alchemy": "40800",
|
||||||
"destroy": "false",
|
"destroy": "false",
|
||||||
"weapon_interface": "5",
|
"weapon_interface": "5",
|
||||||
"attack_audios": "2500,2500,2517,2500",
|
"attack_audios": "2517,2517,2500,2517",
|
||||||
"name": "Leaf-bladed sword"
|
"name": "Leaf-bladed sword"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ class ExplorersRingPlugin : InteractionListener() {
|
||||||
return@on true
|
return@on true
|
||||||
}
|
}
|
||||||
player.settings.updateRunEnergy(-50.0)
|
player.settings.updateRunEnergy(-50.0)
|
||||||
|
player.audioManager.send(5035)
|
||||||
|
|
||||||
getStoreFile()[player.username.toLowerCase() + ":run"] = charges + 1
|
getStoreFile()[player.username.toLowerCase() + ":run"] = charges + 1
|
||||||
|
|
||||||
|
|
@ -96,4 +97,4 @@ class ExplorersRingPlugin : InteractionListener() {
|
||||||
fun getStoreFile(): JSONObject{
|
fun getStoreFile(): JSONObject{
|
||||||
return ServerStore.getArchive("daily-explorer-ring")
|
return ServerStore.getArchive("daily-explorer-ring")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -582,7 +582,7 @@ public class TeleportManager {
|
||||||
public boolean pulse() {
|
public boolean pulse() {
|
||||||
if (delay == 0) {
|
if (delay == 0) {
|
||||||
if (entity instanceof Player) {
|
if (entity instanceof Player) {
|
||||||
entity.asPlayer().getAudioManager().send(200);
|
entity.asPlayer().getAudioManager().send(5036);
|
||||||
}
|
}
|
||||||
entity.getAnimator().forceAnimation(new Animation(getSettings().getStartEmote()));
|
entity.getAnimator().forceAnimation(new Animation(getSettings().getStartEmote()));
|
||||||
entity.graphics(new Graphics(getSettings().getStartGfx()));
|
entity.graphics(new Graphics(getSettings().getStartGfx()));
|
||||||
|
|
@ -590,7 +590,7 @@ public class TeleportManager {
|
||||||
entity.getProperties().setTeleportLocation(Location.create(location));
|
entity.getProperties().setTeleportLocation(Location.create(location));
|
||||||
fireRandom(entity, location);
|
fireRandom(entity, location);
|
||||||
if (entity instanceof Player) {
|
if (entity instanceof Player) {
|
||||||
entity.asPlayer().getAudioManager().send(201);
|
entity.asPlayer().getAudioManager().send(5034);
|
||||||
}
|
}
|
||||||
entity.getAnimator().forceAnimation(new Animation(getSettings().getEndEmote(), Priority.HIGH));
|
entity.getAnimator().forceAnimation(new Animation(getSettings().getEndEmote(), Priority.HIGH));
|
||||||
entity.graphics(new Graphics(getSettings().getEndGfx()));
|
entity.graphics(new Graphics(getSettings().getEndGfx()));
|
||||||
|
|
|
||||||
0
gradlew
vendored
Normal file → Executable file
0
gradlew
vendored
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue