Difference between revisions of "Targeted Bait"

From Stardew Valley Wiki
Jump to navigation Jump to search
(After testing I can confirm this is true.)
(Corrected information on Targeted Bait impact on GetFishFromLocationData method and subsequent impact on IgnoreGenericRequirements fish. Fleshed out information on Crab Pods and notes for edge case fish.)
Line 12: Line 12:
 
It can be obtained from a [[Bait Maker]] after putting in any fish, which will result in 5-10 "[insert fish name here] Bait." The player can also purchases 8-12 targeted bait of a specific fish per day from the [[Fish Shop]] for double the sell price (0.2 x [[Fish]] price).
 
It can be obtained from a [[Bait Maker]] after putting in any fish, which will result in 5-10 "[insert fish name here] Bait." The player can also purchases 8-12 targeted bait of a specific fish per day from the [[Fish Shop]] for double the sell price (0.2 x [[Fish]] price).
  
When using targeted bait, the [[Modding:Fish data#Spawn rate|Spawn rate]] for the targeted fish is multiplied by 1.66, after applying Fishing Level and [[Fishing#Fishing Zone|Fishing Zone]] modifiers.<ref name="spawnrate" /> In addition, the game will make up to three attempts to return a fish. If during any attempt the targeted fish is hooked, the player will hook the targeted fish. Otherwise, if none of the three attempts return the targeted fish, the player will hook the first item returned.<ref name="specificbait" />  
+
When using targeted bait, the [[Modding:Fish data#Spawn Rate|Spawn Rate]] for the targeted fish is multiplied by 1.66, after applying Fishing Level and [[Fishing#Fishing Zone|Fishing Zone]] modifiers.<ref name="Spawn_Rate"/> This can guarantee a fish passing its Spawn Rate check, but has no impact on its Location-based chance or the order in which possible catches are checked. In addition, when choosing from the list of possible catches for the area, the game will look at the first three items to pass both the Spawn Rate and Location-based chance checks. If the targeted fish is among them, the player will hook the targeted fish. Otherwise, the player will hook the third item, whatever it may be. If the game reaches the end of the list of possible catches without either of these conditions being met, it will start again from the beginning.<ref name="Targeted_Bait_Loop"/> If it reaches the end of the list a second time, the player will hook trash.<ref name="Trash_Reason"/>
  
Targeted Bait also works with [[Crab Pot]]s.
+
Targeted Bait also works with [[Crab Pot]]s. Its effect depends on the [[Modding:Fish data|chance]] of the targeted fish.<ref Name="Crab_Pots"/>
 +
* [[Lobster]] chance is quadrupled
 +
* [[Clam]], [[Crab]], or [[Oyster]] chances are tripled
 +
* All other fish chances are doubled
  
Note that Targeted Bait will not work with some fish that ignore the fish data requirements. See the [[#Fish Not Affected|list of fish not affected]].
+
==Notes==
 
+
* The [[Fish#Legendary Fish|Legendary Fish]] and [[Fish#Legendary Fish II|Extended Family]] do not make use of Spawn Rate at all, so are unaffected by the 1.66x multiplier. Additionally, they are always in first position on the list of possible catches<ref Name="Legendary_Precedence"/>, so can only benefit from the additional checks if the game reaches a second loop of the list. This makes them relatively unaffected by Targeted Bait.
==Fish Not Affected==
+
* [[Night Market#Fishing Submarine|Submarine fish]] do not make use of Spawn Rate at all, so are unaffected by the 1.66x multiplier. However, the secondary effect of Targeted Bait still applies, allowing the game to ignore an earlier success on the list of possible catches and check for the Targeted Fish regardless.
In some cases, using targeted bait does not increase the fish bite rate. This happens when the fish data requirements are ignored and no game code indicates the bite rates increase with targeted bait. The fish affected are:
+
* [[The Mines|Mines]] fish, other than [[Ghostfish]], do not make use of the standard fishing algorithm at all, and so are unaffected by the usual effects of Targeted Bait. Instead, Targeted Bait provides a flat bonus to their hook chance. This is 10% for [[Stonefish]], 9% for [[Ice Pip]], and 8% for [[Lava Eel]].<ref name="Mines_Fishing"/>
*All [[Fish#Legendary Fish|Legendary Fish]] and [[Fish#Legendary Fish II|Legendary Fish II]]
 
*All Fish from the [[Night Market#Fishing Submarine|Night Market Fishing Submarine]]
 
  
 
==Use==
 
==Use==
Line 40: Line 41:
 
<references>
 
<references>
 
       <ref name="fishbitetime">See <samp>FishingRod::calculateTimeUntilFishingBite</samp> in the game code.</ref>
 
       <ref name="fishbitetime">See <samp>FishingRod::calculateTimeUntilFishingBite</samp> in the game code.</ref>
       <ref name="spawnrate">See <samp>GameLocation::GetGenericFishRequirements</samp> in the game code.</ref>
+
       <ref name="Spawn_Rate">See <samp>GameLocation::GetGenericFishRequirements</samp> in the game code. The 1.66x multiplier is applied after the 0.9 cap, allowing for guaranteed success on this check.</ref>
       <ref name="specificbait">See <samp>GameLocation::GetFishFromLocationData</samp> in the game code.</ref>
+
       <ref name="Targeted_Bait_Loop">See <samp>GameLocation::GetFishFromLocationData</samp> in the game code. If a fish passes both random checks, it is hooked if either: there no targeted fish; it is the targeted fish; or at least two items in the list have already passed both checks.</ref>
 +
      <ref name="Trash_Reason">Since Trash exists at precedence 2000 in all areas, and is guaranteed to pass both checks, the only way to reach the end of the list twice is if Trash was the only item hooked on both loops. Therefore, the only item that can be hooked from this condition is Trash.</ref>
 +
      <ref name="Crab_Pots">See <samp>Objects/CrabPot::DayUpdate</samp> in the game code.</ref>
 +
      <ref name="Legendary_Precedence">See <samp>Locations.xnb</samp> in the data files for Precedence values.</ref>
 +
      <ref name="Mines_Fishing">See <samp>GameLocations/MineShaft::GetFish</samp> in the game code.</ref>  
 
</references>
 
</references>
  

Revision as of 07:19, 19 April 2024

Rotten Plant.png  Warning: Spoilers  Rotten Plant 2.png

This page or section contains unmarked spoilers from update 1.6 of Stardew Valley. Players may want to avoid or be cautious toward reading this article/section.

Targeted Bait
Pink Bait.png
Increases your chances to catch (fish name).
Information
Source Bait MakerFish Shop
Energy Inedible
Sell Price 0.1 × Fish Price

Targeted Bait is a specialized type of bait which increases the chance of hooking a specific fish in a given area provided the fish can be caught in that area at that time, weather, and season. The bite rate for any targeted bait the same as for standard bait (reduces the delay before a nibble by 50%).[1]

It can be obtained from a Bait Maker after putting in any fish, which will result in 5-10 "[insert fish name here] Bait." The player can also purchases 8-12 targeted bait of a specific fish per day from the Fish Shop for double the sell price (0.2 x Fish price).

When using targeted bait, the Spawn Rate for the targeted fish is multiplied by 1.66, after applying Fishing Level and Fishing Zone modifiers.[2] This can guarantee a fish passing its Spawn Rate check, but has no impact on its Location-based chance or the order in which possible catches are checked. In addition, when choosing from the list of possible catches for the area, the game will look at the first three items to pass both the Spawn Rate and Location-based chance checks. If the targeted fish is among them, the player will hook the targeted fish. Otherwise, the player will hook the third item, whatever it may be. If the game reaches the end of the list of possible catches without either of these conditions being met, it will start again from the beginning.[3] If it reaches the end of the list a second time, the player will hook trash.[4]

Targeted Bait also works with Crab Pots. Its effect depends on the chance of the targeted fish.[5]

  • Lobster chance is quadrupled
  • Clam, Crab, or Oyster chances are tripled
  • All other fish chances are doubled

Notes

  • The Legendary Fish and Extended Family do not make use of Spawn Rate at all, so are unaffected by the 1.66x multiplier. Additionally, they are always in first position on the list of possible catches[6], so can only benefit from the additional checks if the game reaches a second loop of the list. This makes them relatively unaffected by Targeted Bait.
  • Submarine fish do not make use of Spawn Rate at all, so are unaffected by the 1.66x multiplier. However, the secondary effect of Targeted Bait still applies, allowing the game to ignore an earlier success on the list of possible catches and check for the Targeted Fish regardless.
  • Mines fish, other than Ghostfish, do not make use of the standard fishing algorithm at all, and so are unaffected by the usual effects of Targeted Bait. Instead, Targeted Bait provides a flat bonus to their hook chance. This is 10% for Stonefish, 9% for Ice Pip, and 8% for Lava Eel.[7]

Use

Requires: Fiberglass Rod.png Fiberglass Rod, Iridium Rod.png Iridium Rod, or Advanced Iridium Rod.png Advanced Iridium Rod.

Each cast uses one piece of bait or one magnet. When all bait is used up, the game pops up a notification saying "You've used your last piece of bait."

To attach bait to a fishing rod, open the inventory, click on the bait (Left-Click.png left-click or Right-Click.png right-click, depending on how many bait will be used), and then Right-Click.png on the rod. To remove bait, Right-Click.png on the rod.

On an Xbox controller, press 360 A.png on the bait to select the whole stack (or 360 X.png to pick up a single one), then 360 X.png to attach to the rod.

On a PS4 controller, press PS4 Cross.png on the bait to select the whole stack (or PS4 Square.png to pick up a single one), then PS4 Square.png to attach to the rod.

On a Nintendo Switch Controller, Press Switch A.png on the bait to select the whole stack (Or Switch Y.png to pick up a single one), then Switch Y.png to attach to the rod.

Bait can be detached by pressing PS4 Cross.png on either Controller. (Switch Y.png on Nintendo Switch)

For the mobile version, bait can be added to the fishing rod by opening the inventory, then dragging the bait and dropping it on top of the rod.

Bundles

Targeted Bait is not used in any bundles.

Gifting

Villager Reactions

Hate Abigail Icon.png AbigailAlex Icon.png AlexCaroline Icon.png CarolineClint Icon.png ClintDemetrius Icon.png DemetriusDwarf Icon.png DwarfElliott Icon.png ElliottEmily Icon.png EmilyEvelyn Icon.png EvelynGeorge Icon.png GeorgeGus Icon.png GusHaley Icon.png HaleyHarvey Icon.png HarveyJas Icon.png JasJodi Icon.png JodiKent Icon.png KentKrobus Icon.png KrobusLeah Icon.png LeahLeo Icon.png LeoLewis Icon.png LewisLinus Icon.png LinusMarnie Icon.png MarnieMaru Icon.png MaruPam Icon.png PamPenny Icon.png PennyPierre Icon.png PierreRobin Icon.png RobinSam Icon.png SamSandy Icon.png SandySebastian Icon.png SebastianShane Icon.png ShaneVincent Icon.png VincentWilly Icon.png WillyWizard Icon.png Wizard

Quests

Targeted Bait is not used in any quests.

References

  1. See FishingRod::calculateTimeUntilFishingBite in the game code.
  2. See GameLocation::GetGenericFishRequirements in the game code. The 1.66x multiplier is applied after the 0.9 cap, allowing for guaranteed success on this check.
  3. See GameLocation::GetFishFromLocationData in the game code. If a fish passes both random checks, it is hooked if either: there no targeted fish; it is the targeted fish; or at least two items in the list have already passed both checks.
  4. Since Trash exists at precedence 2000 in all areas, and is guaranteed to pass both checks, the only way to reach the end of the list twice is if Trash was the only item hooked on both loops. Therefore, the only item that can be hooked from this condition is Trash.
  5. See Objects/CrabPot::DayUpdate in the game code.
  6. See Locations.xnb in the data files for Precedence values.
  7. See GameLocations/MineShaft::GetFish in the game code.

History

  • 1.6: Introduced.