Farigh / pokeclicker-automation

An automation script suite for pokeclicker.com
GNU General Public License v3.0
38 stars 21 forks source link

Utils.Route: Consider the magikarp jump island to farm #209

Open Farigh opened 1 year ago

Farigh commented 1 year ago

Is your feature request related to a problem? Please describe.

Since the v1.10.6, the Magikarp Jump subregion was introduced.

This subregion has the particularity to have it's own click-attack value. The current state of the code bypasses any content in this particular subregion.

Describe the solution you'd like

Use the magikarp click attack for those cases, and remove the corresponding todos, introduced by #208 : https://github.com/Farigh/pokeclicker-automation/blob/bbcd01de6ae40e0321018c293c89312172ee6cc8/src/lib/Utils/Route.js#L178 https://github.com/Farigh/pokeclicker-automation/blob/bbcd01de6ae40e0321018c293c89312172ee6cc8/src/lib/Utils/Route.js#L241 https://github.com/Farigh/pokeclicker-automation/blob/bbcd01de6ae40e0321018c293c89312172ee6cc8/src/lib/Utils/Route.js#L308