12 Commits

Author SHA1 Message Date
Nightblade
4dd322d7dc Fix spelling in code (#4690)
* *Interupt* -> *Interrupt*

Tested OK with:
`spec\TestBuilds\3.13\Dual Wield Cospris CoC.xml`

May even fix a bug since `src\Data\SkillStatMap.lua` line 431 was using different (correct) spelling: `mod("AvoidInterruptStun", "BASE", nil)`

* corruptable -> corruptible

* RejuvinationTotem -> RejuvenationTotem

* Absoprtion -> Absorption

* Posioned -> Poisoned

* uppper -> upper

* preceeding -> preceding

* Need this spelling

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
2022-08-09 05:45:02 +10:00
Regisle
89848f852c Minor EHP improvments (#4227)
* 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>
2022-06-03 00:12:16 -05:00
Nightblade
36c10abda0 fix "maxmium" in test builds 2022-02-23 13:31:18 +11:00
Nostrademous
71271bac9c Add support for 'X% chance to defend with Y%
* 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
2021-11-02 07:24:08 +11:00
jppianta
7dd5ff0450 Gerenerate tests 2021-10-21 10:54:51 -03:00
Zpooks
b0ea4215b8 3188 Regenerated builds 2021-10-18 21:16:55 +02:00
Wires77
9a4f0e08a2 Merge branch 'dev' into IgniteBuff 2021-10-17 20:23:53 -05:00
Wires77
9f43375888 fix: update tests 2021-10-17 20:13:53 -05:00
Wires77
c5bbbade08 Updating tests 2021-10-17 19:08:09 -05:00
Wires77
400ce2c9ea Updating test builds 2021-10-05 00:26:11 -05:00
Wires77
cf755fcc00 Fixed tests, removed debug code 2021-07-19 05:06:52 -05:00
Wires77
96aab7d9f7 Testing why automated tests don't work again 2021-07-19 05:06:52 -05:00