mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 16:51:37 +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)
|
super(4, true, mob, position, 1)
|
||||||
@position = position
|
@position = position
|
||||||
@spot = spot
|
@spot = spot
|
||||||
@tool = spot.tools[action - 1]
|
@tool = spot.tools[option - 1]
|
||||||
|
|
||||||
@options = (option == 1) ? spot.first_option : spot.second_option
|
@options = (option == 1) ? spot.first_option : spot.second_option
|
||||||
@minimum_level = options.map { |fish| fish.level }.min
|
@minimum_level = options.map { |fish| fish.level }.min
|
||||||
|
|||||||
Reference in New Issue
Block a user