Changes

Jump to navigation Jump to search
100 bytes added ,  00:55, 26 January 2020
Added a reference for the chance to intercept calculation.
Line 16: Line 16:     
==Chance to Intercept==
 
==Chance to Intercept==
{{Stub|section=true|Need code reference}}
+
The chance that a lightning strike will be intercepted is inversely related to the percentage of lightning rods on your farm that are currently holding a charge (either pulsing or holding a battery pack). The exact probability is <code>chance to intercept = 1 - (number of charged lightning rods / total number of lightning rods)&sup2;</code><ref name="performlightningupdate" />. That is, if none of your lightning rods are currently holding a charge, a lightning strike is 100% guaranteed to be intercepted. If 50% of your lightning rods are charged, a lightning strike has a 75% chance of being intercepted. If 90% of your lightning rods are charged, a strike has only a 19% chance of being intercepted. You must have at least one lightning rod on your farm to have any chance of intercepting a strike.
The chance that a lightning strike will be intercepted is inversely related to the percentage of lightning rods on your farm that are currently holding a charge (either pulsing or holding a battery pack). The exact probability is <code>chance to intercept = 1 - (number of charged lightning rods / total number of lightning rods)&sup2;</code>. That is, if none of your lightning rods are currently holding a charge, a lightning strike is 100% guaranteed to be intercepted. If 50% of your lightning rods are charged, a lightning strike has a 75% chance of being intercepted. If 90% of your lightning rods are charged, a strike has only a 19% chance of being intercepted. You must have at least one lightning rod on your farm to have any chance of intercepting a strike.
      
A non-intercepted lightning strike has a base 25% chance of hitting a feature on your farm, influenced by daily luck and luck buffs.
 
A non-intercepted lightning strike has a base 25% chance of hitting a feature on your farm, influenced by daily luck and luck buffs.
Line 29: Line 28:  
<references>
 
<references>
 
<ref name="oldredditcomment">[https://www.reddit.com/r/StardewValley/comments/4c93ns/v107_beta_branch_bugsdiscussion/, "v1.07 beta branch Bugs/Discussion"]</ref>
 
<ref name="oldredditcomment">[https://www.reddit.com/r/StardewValley/comments/4c93ns/v107_beta_branch_bugsdiscussion/, "v1.07 beta branch Bugs/Discussion"]</ref>
 +
<ref name="performlightningupdate">See <tt>Utility.performLightningUpdate()</tt> in the game code.</ref>
 
</references>
 
</references>
  
3

edits

Navigation menu