Expand description
Damage calculation pipeline: base + coef * power, then crit, vers, armor, and multipliers.
Structs§
- Attack
Table - Ordered one-roll attack-table probabilities and landed-hit reductions.
- Damage
Calc - All inputs needed to compute a damage hit.
- Damage
Result - Result of a single damage calculation.
Constants§
- WEAPON_
POWER_ COEFFICIENT - Converts weapon damage per second into attack power.
Functions§
- armor_
mitigation - Fraction of damage that bypasses armor (
1 - armor / (armor + K)), in[0, 1]. - pet_
swing_ ap - Attack-power coefficient for a normalized pet auto-attack swing.
- pet_
swing_ power_ coefficient - Returns the owner-power coefficient for a pet weapon swing.