User:IapIac/Sandbox: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
I don't know what to say. vrej
I don't know what to say. vrej
__NOTOC__
----
==== Stat modifiers ====
For most stats, there is a "range" which means the stat change from the min power to max power.
===== Pierce =====
<math>\text{Pierce}=\text{Base Pierce} + \lfloor \text{Pierce Range} \times \frac{\text{Power}-\text{Min Power}}{\text{Max Power}-\text{Min Power}}\rfloor</math>
===== Damage =====
<math>\text{Damage}=\text{Base Damage} + \lfloor \text{Damage Range} \times \frac{\text{Power}-\text{Min Power}}{\text{Max Power}-\text{Min Power}}\rfloor</math>
For middle path, bonus stun damage is also affected by merging:
<math>\text{Extra Stun Damage}=\text{Base Extra Stun Damage} + \lfloor\frac{\text{Damage}-\text{Base Damage}}{\text{Stun Bonus Divisor}}\rfloor</math>
===== Knockback duration =====
<math>\text{Knockback Duration}=\text{Base Knockback Duration}+\text{Knockback Duration Range} \times \frac{\text{Power}-\text{Min Power}}{\text{Max Power}-\text{Min Power}}</math>
===== Flying speed =====
<math>\text{Flying Speed}=\text{Base Flying Speed}+\text{Speed Range} \times \frac{\text{Power}-\text{Min Power}}{\text{Max Power}-\text{Min Power}}</math>
===== Attack cooldown =====
<math>\text{Attack Cooldown}=\text{Base Attack Cooldown}-\text{Cooldown Scale Range} \times \frac{\text{Power}-\text{Min Power}}{\text{Max Power}-\text{Min Power}}</math>
===== Ability cooldown =====
Unlike other stats, ability cooldown actually changes the <code>cooldownSpeedScale</code>, which means this stacks additively with other buffs such as [[Energizer (BTD6)|Energizer]]. This bonus is based on the attack cooldown:
<math>\text{Ability Cooldown Decrease Scale}=\frac{\text{Base Attack Cooldown}-\text{Attack Cooldown}}{\text{Attack Cooldown}}</math>


----
----