* minor improvements to defences
* update helper function
* add option to disable gain on block
* fix spelling mistake
* apply chill to enemy
* fix disable gain on block
* basic support for enemy crit
basic support for enemy crit
* correctly apply speedup maxhit limit
* Fix issue with enemy crit incorrectly being added to 1 twice
* Fix "defend with X% armour" calcs
* esbypass on block
* Cap portionArmour at 100%
For fairly obvious reasons, armour cannot mitigate more than 100% of incoming damage. Also removed an unnecessary NaN check as I cannot get the error it was intended to prevent to trigger under any conditions.
* enemy pen applying when it shouldnt
* apply energyshield recoverable correctly
* fix spelling mistake and max depth value of ehp helper function
* fix armour reduction displays and breakdowns
* Update CalcDefence.lua
* Factor in resistances and flat reduction
.. and explain what's happening briefly in the related tooltip.
* Update CalcDefence.lua
* Update CalcDefence.lua
* Remove obsolete variable reference
* fix armour reduction breakdowns to make more sense
* Fix incorrect PDR calc
* Restore PDR cap
* Add some sanity checks
This prevents nonsensical (negative) damage values and properly handles negative penetration.
* fix merge issue
fix merge issue
* fix gain when hit when speedup happens
* fix wrong damage category for projectile spells
Co-authored-by: Lothrik <maximius@gmail.com>
Add "Are you Fortified?" field and default Fortification Stacks to max if no override is specified
Correct Fortitude behavior to not override the maximum Fortification
Remove convertFortifyEffect because 3.16.0 removed the more evasion mod from all Willowgifts, so there are no legacy items that use that mod anymore
* feat: support for 'X% chance to defend with Y% armour' and 'defend with Y% armour while not on low energy shield' masteries
* fix: fix 100% chance to defend with armour not appearing in Min Armour Calculation; fixed above 100% scaling armour