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