Entity damage takes into account the enemy's various Defense stats.
The total damage of a damage event is calculated as follows:
Total damage=(∑Elemental Damage)⋅{1+cdmg1if critotherwise
Where:
cdmg is the critical damage stat of the attacker.
In other words, the total damage is the sum of the damage for each element, multiplied by the critical damage multiplier.
This means that crit is not independent of elemental damage.
For a damage event, the following formula is used per element:
edmg is the damage stat of the attacker for that element.
def is the defense stat of the defender.
edef is the defense stat of the defender for that element.
The total damage is the sum of the damage for each element.
From the formula, we can see that elemental defense and regular defense are independent of each other and are applied multiplicatively.