mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Correct variable name in Fishing skill.
This commit is contained in:
1 parent
d787906514
commit
f0424d66fe
1 file changed
+1
-1
@@ -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