mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +00:00
Update wilderness.rb
When you entered the wilderness it would start at level 0
This commit is contained in:
@@ -19,7 +19,7 @@ end
|
|||||||
|
|
||||||
# Determines the wilderness level for the specified player's position
|
# Determines the wilderness level for the specified player's position
|
||||||
def wilderness_level(player)
|
def wilderness_level(player)
|
||||||
((player.position.y - 3520) / 8).ceil
|
((player.position.y - 3520) / 8).ceil + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
area_action :wilderness_level do
|
area_action :wilderness_level do
|
||||||
|
|||||||
Reference in New Issue
Block a user