Fire Rate: Difference between revisions

LVL (talk | contribs)
Math: Rewrote math section a little simplify formula.
Line 4: Line 4:


== Math ==
== Math ==
The final Fire Rate change is calculated with separate rules for bonuses and slows: positive bonuses (buffs) are additive, while negative bonuses (slows) are multiplicative.
The final Fire Rate change is calculated with separate rules for bonuses and slows: positive bonuses (buffs) are additive, while negative modifiers (slows) are multiplicative.


It is important to note that the total change to Fire Rate cannot be reduced below '''-50%'''. Any calculated value lower than this will be capped at -50%.
It is important to note that the total change to Fire Rate cannot be reduced below '''-50%'''. Any calculated value lower than this will be capped at -50%.


The overall formula is: <math>\text{Fire Rate Modifier} = (\text{All Bonuses Added}) - \left(1 - \prod (1 - \text{Slows})\right)</math>
The simplified formula is:
:<math>\text{Fire Rate Modifier} = (\text{Sum of Bonuses}) - \left(1 - \text{Total Slows}\right)</math>


Where:
Where:
* All Bonuses Added = Bonus1 + Bonus2 + ... (e.g., 0.25 + 0.20 = 0.45)
* '''Sum of Bonuses''' = All positive buffs added together (e.g., <math>0.25 + 0.20</math>)
* <math>\prod (1 - \text{Slows})</math> is the product of the remainders for each individual '''Fire Rate Slow''' (e.g., (1 - 0.25) * (1 - 0.35))
* '''Total Slows''' = The result of multiplying the remaining values of each slow: <math>(1 - \text{Slow}_1) \times (1 - \text{Slow}_2) \times \dots</math>


=== Examples ===
=== Examples ===
Line 23: Line 24:
* '''-35%''' Fire Rate Slow from an enemy's {{ItemIcon|Suppressor}}
* '''-35%''' Fire Rate Slow from an enemy's {{ItemIcon|Suppressor}}


The calculation combines the additive bonuses with the multiplicative slows:  
First, calculate the groups separately:
<math>(0.25 + 0.20) - (1 - (1 - 0.25) \times (1 - 0.35))</math> <br>
* '''Bonuses:''' <math>0.25 + 0.20 = 0.45</math>
<math>= 0.45 - (1 - 0.4875)</math> <br>  
* '''Slows:''' <math>(1 - 0.25) \times (1 - 0.35) = 0.75 \times 0.65 = 0.4875</math>
<math>= 0.45 - 0.5125 = -0.0625</math>
 
Then combine them in the final formula:
:<math>\text{Final} = 0.45 - (1 - 0.4875)</math>
:<math>\text{Final} = 0.45 - 0.5125 = -0.0625</math>


This results in a '''-6.25%''' final change. The in-game UI typically rounds this value to the nearest whole number, displaying '''-6%'''.
This results in a '''-6.25%''' final change. The in-game UI typically rounds this value to the nearest whole number, displaying '''-6%'''.
Line 32: Line 36:
==== Maximum Slow Reduction ====  
==== Maximum Slow Reduction ====  
For an example with only slows applied:
For an example with only slows applied:
* No positive Fire Rate bonuses
* No positive Fire Rate bonuses (0)
* '''-25%''' Fire Rate Slow from {{HeroIcon|Sinclair}}'s {{AbilityIcon|Vexing Bolt}}
* '''-25%''' Fire Rate Slow from {{HeroIcon|Sinclair}}'s {{AbilityIcon|Vexing Bolt}}
* '''-35%''' Fire Rate Slow from an enemy's {{ItemIcon|Suppressor}}
* '''-35%''' Fire Rate Slow from an enemy's {{ItemIcon|Suppressor}}


The calculation is: <br>
The calculation is:
<math>0 - (1 - (1 - 0.25) \times (1 - 0.35)) = -0.5125</math>  
:<math>0 - (1 - (0.75 \times 0.65))</math>
:<math>0 - (1 - 0.4875) = -0.5125</math>  


This results in a calculated slow of '''-51.25%'''. Due to the cap, this value is raised to the maximum reduction of '''-50%'''.
This results in a calculated slow of '''-51.25%'''. Due to the cap, this value is raised to the maximum reduction of '''-50%'''.