Defense is calculated as:

\( {\text{DEF}}={\text{DEF}}_{\text{Character}}\times (1+\%{\text{ DEF Bonus}})+{\text{DEF Flat Bonus}}\)

For both characters and enemies, defense reduces incoming damage based on this formula:[1]

\( {\text{DEF DMG Reduction}}={\frac {\text{DEF}}{{\text{DEF}}+5\times {\text{Level}}_{\text{Attacker}}+500}}\)

The incoming damage will then be multiplied by

\({\text{DEF Multiplier}}=1-{\text{DEF DMG Reduction}}\)

Enemy Defense

File:Damage vs defense graph.png

Defense Multiplier (%) vs Attacker's level for a Lv. 10 (blue) and Lv. 90 (red) defender.
In both cases damage is halved (50%) relative to attack power when attacker and defender levels are equal [any DEF reduction ignored]

Characters have defense attributes based on their base stats, levels, weapons, artifacts, and any buffs (e.g. Food).

Enemy defense is given as:

\( {\text{DEF}}_{\text{Enemy}}=5\times {\text{Level}}_{\text{Enemy}}+500 \)

Defense reduces incoming damage, but its effectiveness is dependent on the attacker's level:[2]

\( {\text{DEF Multiplier}}={\frac {{\text{Level}}_{\text{Character}}+100}{{\text{Level}}_{\text{Character}}+{\text{Level}}_{\text{Enemy}}+200}}\)

For enemies with debuffed defense:

\( {\text{DEF Multiplier}}_{\text{(Debuffed)}}={\frac {{\text{Level}}_{\text{Character}}+100}{\left[1-\%{\text{ DEF Reduction}}\right]({\text{Level}}_{\text{Enemy}}+100)+{\text{Level}}_{\text{Character}}+100}}\)

Intermediate Equations

The DEF Multiplier formula from above:

Given the expression for damage reduction as:

\( {\text{DEF DMG Reduction}}={\frac {{\text{DEF}}_{\text{Enemy}}}{{\text{DEF}}_{\text{Enemy}}+5\times {\text{Level}}_{\text{Character}}+500}}\)

Plug in enemy defense to produce the damage reduction for enemies:

$$\begin{aligned} {\text{DEF DMG Reduction}}&={\frac {\left[5\times {\text{Level}}_{\text{Enemy}}+500\right]}{\left[5\times {\text{Level}}_{\text{Enemy}}+500\right]+5\times {\text{Level}}_{\text{Character}}+500}}\\ &={\frac {{\text{Level}}_{\text{Enemy}}+100}{{\text{Level}}_{\text{Enemy}}+100+{\text{Level}}_{\text{Character}}+100}}\\ &={\frac {{\text{Level}}_{\text{Enemy}}+100}{{\text{Level}}_{\text{Enemy}}+{\text{Level}}_{\text{Character}}+200}} \end{aligned}$$
Subtract the damage reduction from 1 to get a defense multiplier for incoming damage.

$$\begin{aligned} {\text{DEF Multiplier}}&=1-{\text{DEF DMG Reduction}} \\&=1-\left[{\frac {{\text{Level}}_{\text{Enemy}}+100}{{\text{Level}}_{\text{Enemy}}+{\text{Level}}_{\text{Character}}+200}}\right] \\&={\frac {{\text{Level}}_{\text{Character}}+100}{{\text{Level}}_{\text{Enemy}}+{\text{Level}}_{\text{Character}}+200}} \end{aligned}$$

File:Damage vs defense debuff graph.png

Damage received vs. Defense reduction (at equal foe and character levels).
(At 100% defense reduction 100% of potential damage is received)

To consider debuffs that decrease an enemy's defense, multiply the enemy defense accordingly.

$$\begin{aligned} {\text{DEF}}_{\text{Enemy (Debuffed)}}&=(1-\%{\text{ DEF Reduction}})\times {\text{DEF}}_{\text{Enemy}}\\ {\text{DEF Multiplier}}_{\text{Enemy (Debuffed)}} &={\frac {{\text{Level}}_{\text{Character}}+100} {\left[1-\%{\text{ DEF Reduction}}\right]({\text{Level}}_{\text{Enemy}}+100)+{\text{Level}}_{\text{Character}}+100}} \end{aligned}$$

  1. NGA Forum Post: [数据讨论] 防御力(等级)乘区对伤害影响公式出炉——实际上等级压制与防御力是一回事!(更新完毕)
  2. https://ngabbs.com/read.php?tid=23708327