From 496de2b7f8bd91d0543c570de20d4ad51c528126 Mon Sep 17 00:00:00 2001 From: Major- Date: Wed, 25 Feb 2015 16:33:20 +0000 Subject: [PATCH] Update wilderness coordinates to the ones used by Jagex. --- data/plugins/areas/actions.rb | 2 +- data/plugins/areas/areas.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/plugins/areas/actions.rb b/data/plugins/areas/actions.rb index 316c63e6..e72f42f4 100644 --- a/data/plugins/areas/actions.rb +++ b/data/plugins/areas/actions.rb @@ -49,7 +49,7 @@ end # Defines the pvp area action. area_action :pvp do on_entry { |player| player.in_pvp = true } - on_exit { |player| player.in_pvp = true } + on_exit { |player| player.in_pvp = false } end # Defines the wilderness area action. diff --git a/data/plugins/areas/areas.rb b/data/plugins/areas/areas.rb index 3dc06e8f..cb540224 100644 --- a/data/plugins/areas/areas.rb +++ b/data/plugins/areas/areas.rb @@ -42,5 +42,5 @@ def area(hash) end # Coordinates refer to the bottom-left position (min_x, min_y) and the top-right position (max_x, max_y), followed by the height (optional). -area :name => :wilderness, :coordinates => [ 2944, 3520, 3391, 3967, 0 ], :actions => [ :pvp, :multicombat, :wilderness ] +area :name => :wilderness, :coordinates => [ 2944, 3520, 3392, 6400, 0 ], :actions => [ :pvp, :multicombat, :wilderness ] area :name => :duel_arena, :coordinates => [ 3327, 3200, 3392, 3286 ], :actions => :pvp \ No newline at end of file