More actions
m →Math |
|||
| Line 98: | Line 98: | ||
==Math== | ==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 | 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 result, 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.''' | ||