Changes

no edit summary
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 Locational Chance<ref Name="GetChance"/> and [[Modding:Fish data#Spawn Rate|Spawn Rate]] for the targeted fish are both multiplied by 1.66, after applying any relevant modifiers.<ref name="Spawn_Rate"/> This can guarantee a fish passing one or both of these random checks, assuming that a different item is not hooked first. 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 random 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 before three items have passed both checks, it will loop back to the beginning of the list and check each item a second time.<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"/>
+
When using targeted bait, the Locational Chance<ref Name="GetChance"/> and [[Modding:Fish data#Spawn Rate|Spawn Rate]] for the targeted fish are both multiplied by 1.66, after applying any relevant modifiers.<ref name="Spawn_Rate"/> These chances are capped at 1, so in most cases the Locational Chance adjustment will have no effect as most fish have a Locational Chance of 1. However, the Spawn Rate normally has a cap of 0.9, so this adjustment can guarantee a fish passing that check, assuming that a different item is not hooked first. 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 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 before three items have passed both checks, it will loop back to the beginning of the list and check each item a second time.<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. Its effect depends on the [[Modding:Fish data|chance]] of the targeted fish.<ref Name="Crab_Pots"/> Specifically:
 
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"/> Specifically:
Line 41: 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="GetChance">See <samp>Locations/SpawnFishData::GetChance<samp> in the GameData code (<samp>StardewValley.GameData.dll</samp>). The multiplier is applied after all modifiers except Luck, most notably applying after any Curiosity Lure buff, by far the most common modifier to Location chance. A Chance greater than 1 has no further impact on overall catch weight.</ref>
+
       <ref Name="GetChance">See <samp>SpawnFishData::GetChance</samp> in the game code. The multiplier is applied after all modifiers except Luck, most notably applying after any Curiosity Lure buff, by far the most common modifier to Location chance.</ref>
       <ref name="Spawn_Rate">See <samp>GameLocation::GetGenericFishRequirements</samp> in the game code. The 1.66x multiplier is applied fishing zone, fishing level, and curiosity lure modifiers, as well as after the 0.9 cap, allowing for guaranteed success on this check. A Spawn Rate greater than 1 has no further impact on overall catch weight.</ref>
+
       <ref name="Spawn_Rate">See <samp>GameLocation::GetGenericFishRequirements</samp> in the game code. The 1.66x multiplier is applied after fishing zone, fishing level, and curiosity lure modifiers, and the 0.9 cap.</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="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 items that can be hooked from this condition are Trash items.</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 items that can be hooked from this condition are Trash items.</ref>
4,204

edits