Better handling of pitfall NPCs

This commit is contained in:
Player Name
2023-09-20 06:39:11 +00:00
committed by Ryan
parent 4e9f932cfb
commit 0b6be66cfd
@@ -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)