More actions
Noh Luciola (talk | contribs) No edit summary |
→Math: Added note clarifying exponent in hit chance formula. |
||
| Line 99: | Line 99: | ||
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 to see if the turret hits or misses. | 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 to see if the turret hits or misses. | ||
'''Note: The entire expression contained within the outermost set of parentheses is an exponent.''' | |||
<math>\pagecolor{Black}\color{White}\text{Chance to Hit} = {0.5^{\left({\left({\frac{V_{angular} \times 40000m}{WAS \times sig_{target}}}\right)^{2} + \left({\frac{max(0, Distance - opt_{turret})}{fall_{turret}}}\right)^{2}}\right)}}</math> | <math>\pagecolor{Black}\color{White}\text{Chance to Hit} = {0.5^{\left({\left({\frac{V_{angular} \times 40000m}{WAS \times sig_{target}}}\right)^{2} + \left({\frac{max(0, Distance - opt_{turret})}{fall_{turret}}}\right)^{2}}\right)}}</math> | ||