forked from 2009Scape/Server
Better handling of pitfall NPCs
This commit is contained in:
parent
4e9f932cfb
commit
0b6be66cfd
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue