From 0b6be66cfdc2d1d5ebe04b4230067fcb7e88df99 Mon Sep 17 00:00:00 2001 From: Player Name Date: Wed, 20 Sep 2023 06:39:11 +0000 Subject: [PATCH] Better handling of pitfall NPCs --- .../main/content/global/skill/hunter/pitfall/HunterPitfall.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/Server/src/main/content/global/skill/hunter/pitfall/HunterPitfall.kt b/Server/src/main/content/global/skill/hunter/pitfall/HunterPitfall.kt index 7915f639d..f4959cbae 100644 --- a/Server/src/main/content/global/skill/hunter/pitfall/HunterPitfall.kt +++ b/Server/src/main/content/global/skill/hunter/pitfall/HunterPitfall.kt @@ -225,6 +225,7 @@ class PitfallListeners : InteractionListener { //pitfall_npc.setLocation(pit.getLocation()); //pitfall_npc.walkingQueue.addPath(pit.location.x, pit.location.y); teleport(pitfall_npc, pit.location) + pitfall_npc.removeAttribute("last_pit_loc") playAudio(player, Sounds.HUNTING_PITFALL_COLLAPSE_2638, 0, 1, pit.location, 10) playAudio(player, Sounds.PANTHER_DEATH_667, 50, 1, pit.location, 10) pitfall_npc.startDeath(null)