Talk:Lava Eel

From Stardew Valley Wiki
Jump to navigation Jump to search
This talk page is for discussing Lava Eel.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Lava Eel spawn rates in the Caldera with Targeted Bait feel wrong

I did some testing and with Lava Eel Bait and fishing level equivalent to 14, I was able to hook Lava Eel way more than 50% of the time (~70% rate) at the Forge. I know the given numbers are for level 10 fishing, but even when adjusting for fishing level it will only rise to ~45%. Therefore, I believe this is pretty heavy evidence that targeted bait rolls for the fish 3 times, rather than two. BlaDe also said when he did code diving live on Twitch that it rolls 3 times, and he is rarely wrong. User314159 (talk) 19:47, 17 April 2024 (UTC)

The code for this is... rather complicated. Effectively, what happens is that the list of all possible catches is split into separate lists for each priority level, which are each shuffled, and then stitched back together with the lowest priority values in front. It then iterates over the list of possible catches, checking if each item passes its random checks, with three possible outcomes:
  • Two or less items passed after 2 iterations of the list: return the first item that passed and stop.
  • Three items passed: return the third item and stop.
  • The targeted fish passed: return the targeted fish and stop.
This means that both answers are sort of right. If the targeted fish is anywhere in the first 3 fish to pass, it is selected. But it only gets a maximum of 2 attempts to actually pass its checks. Which is more influential depends on where you're fishing, and in the case of the Caldera, it's the latter by far. The only circumstances in which Lava Eel can miss out on its reroll after failing in the first iteration, is if Physics 101 passes on both the first and second iteration. That has a negligible impact on the overall odds. Regardless, the calculations are within my own range of experience, but I am certainly open to more data on the matter. Sicarious (talk) 17:18, 18 April 2024 (UTC)