mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Correct variable name in Fishing skill.
This commit is contained in:
@@ -13,7 +13,7 @@ class FishingAction < DistancedAction
|
||||
super(4, true, mob, position, 1)
|
||||
@position = position
|
||||
@spot = spot
|
||||
@tool = spot.tools[action - 1]
|
||||
@tool = spot.tools[option - 1]
|
||||
|
||||
@options = (option == 1) ? spot.first_option : spot.second_option
|
||||
@minimum_level = options.map { |fish| fish.level }.min
|
||||
|
||||
Reference in New Issue
Block a user