Line 23: |
Line 23: |
| =Defense Power= | | =Defense Power= |
| | | |
− | <math>\text{DEF} = \left( \text{Armour} \times 0.7 + \lfloor\text{Armour}_\text{rand} \times 0.6\rfloor \right) - \text{Debuff}</math> | + | <math>\text{DEF} = \left( \text{Armour} \times 0.7 + \lfloor\text{Armour}_\text{rand} \times 0.6\rfloor \right) - \text{Pen}</math> |
| + | |
| + | * <math>\text{Armour}</math> is the armour of the target including all equipment and upgrade bonuses. |
| + | * <math>\text{Armour}_\text{rand}</math> is a random number between <math>0</math> and <math>\lfloor\text{Armour}\rfloor - 1</math> |
| + | ** Note that it is inclusive, meaning it can also output <math>0</math> and <math>\lfloor\text{Armour}\rfloor - 1</math> |
| + | * <math>\text{Pen}</math> is any applicable armour penetration mechanic like [[Damage_Calculations#Debuffs|debuffs]] or the depth charge penetration for ASW. |
| + | ** [[Type 95 Depth Charge]]: <math>-1</math> |
| + | ** [[Type 2 Depth Charge]]: <math>-2</math> |
| | | |
− | * <math>\text{Armour}</math> is the armour of the target including all equipment and upgrade bonuses. This value is '''rounded down''' to the nearest whole number.
| |
− | * <math>\text{Armour}_\text{rand}</math> is a random number between <math>0</math> and <math>\text{Armour} - 1</math>
| |
− | ** Note that it is inclusive, meaning it can also output <math>0</math> and <math>\text{Armour} - 1</math>
| |
| | | |
| Therefore, the '''maximum armour value''' <math>\text{HP}_\text{current} \times 1.3 - 0.6</math> and the '''minimum armour value''' is <math>\text{HP}_\text{current} \times 0.7</math>. This makes the maximum defensive power a target can have is '''1.3x''' armour and the lowest is '''0.7x''' armour. | | Therefore, the '''maximum armour value''' <math>\text{HP}_\text{current} \times 1.3 - 0.6</math> and the '''minimum armour value''' is <math>\text{HP}_\text{current} \times 0.7</math>. This makes the maximum defensive power a target can have is '''1.3x''' armour and the lowest is '''0.7x''' armour. |
| + | |
| | | |
| '''Important Notes''' | | '''Important Notes''' |
| * The range of armour values is uniformly distributed, every armour roll has the same chance of occurring. | | * The range of armour values is uniformly distributed, every armour roll has the same chance of occurring. |
− | * Depth charges have bonus armour penetration for ASW.
| |
− | ** [[Type 95 Depth Charge]]: <math>-1</math>
| |
− | ** [[Type 2 Depth Charge]]: <math>-2</math>
| |
| | | |
| =Basic Attack Power Formulas= | | =Basic Attack Power Formulas= |