User:Jigaraphale/Sandbox/12

Defense Formula
[math]\displaystyle{ \text{DEF} = \left( \text{Armor} \times 0.7 + \text{Armor}_\text{rand} \times 0.6 \right) - \text{Pen} }[/math]
With
  • [math]\displaystyle{ \text{Armor} }[/math] the armor Armor of the target including all equipment and upgrade bonuses,
    • This stat is be directly affected by Debuffs when applicable.
  • [math]\displaystyle{ \text{Armor}_\text{rand} }[/math] a random number between [math]\displaystyle{ 0 }[/math] and [math]\displaystyle{ \lfloor\text{Armor}\rfloor - 1 }[/math],
    • Note that it is inclusive, meaning it can also output [math]\displaystyle{ 0 }[/math] and [math]\displaystyle{ \lfloor\text{Armor}\rfloor - 1 }[/math]
  • [math]\displaystyle{ \text{Pen} }[/math] any applicable armor penetration mechanic:
    • See ASW for details on ASW armor penetration,
Notes
  • The range of armor values is uniformly distributed, every armor roll has the same chance of occurring.