More actions
I really mangled the synthesis of the previous sections when I added the intro. This should make it clearer what the exponential is and what the conventions for a hit are, in-line with previously written info prior to may 2019. |
→Hit Math: stating "what hits" to avoid having to double negative with "what doesn't miss" |
||
| Line 105: | Line 105: | ||
==Hit Math== | ==Hit Math== | ||
A turret's chance to hit a target is calculated using the equation below. It will produce a result between 0 and 1, representing a probability between 0% and 100%. This value is then compared to a random number between 0 and 1. If the random number is greater than the calculated | A turret's chance to hit a target is calculated using the equation below. It will produce a result between 0 and 1, representing a probability between 0% and 100%. This value is then compared to a random number between 0 and 1. By convention, the random number has to be less than the calculated result to hit. If the random number is greater than the calculated chance, the turret misses. | ||
'''Note: The entire expression contained within the outermost set of parentheses is an exponent.''' | '''Note: The entire expression contained within the outermost set of parentheses is an exponent.''' | ||