Changes

Targeted Bait affects Locational Chance
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="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 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"/> 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"/>
    
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 20: Line 20:     
==Notes==
 
==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.
+
* Some fish, such as the [[Fish#Legendary Fish|Legendary Fish]], [[Fish#Legendary Fish II|Extended Family]], and [[Night Market#Fishing Submarine|Submarine fish]] ignore Spawn Rate completely giving them an effective 100% Spawn Rate, regardless of the 1.66x multiplier. However, they still benefit from all other effects, including the Locational Chance multiplier and extra hook attempts.
* [[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.
+
* The [[Fish#Legendary Fish|Legendary Fish]] and [[Fish#Legendary Fish II|Extended Family]] have earlier Precedence<ref name="Legendary_Precedence"/> than all other items in their locations, and so are always attempted on the first loop, regardless of Targeted Bait. This significantly reduces the impact of the extra hook attempts, as second attempt only occurs under the (highly unlikely) circumstance that less than 3 items pass their random checks on the first loop (including Trash, which is guaranteed to pass).
 
* [[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"/>
 
* [[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"/>
   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="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="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="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="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>
Line 55: Line 56:     
{{NavboxEquipment}}
 
{{NavboxEquipment}}
 +
 +
[[ru:Целенаправленная приманка]]
127

edits