3 Commits

Author SHA1 Message Date
Nighty
684bd3a6d5 indent space -> tab (#8058) 2024-07-31 14:07:24 +10:00
Brendan Thomas
4b8ede6f83 Fix numerous issues in bleed calculations (#7771)
* Fix numerous issues in bleed calculations

- Chance to bleed was applied in the incorrect location
- Chance to hit was applied incorrectly
- Bleed stacks and stack potential was overwritten with incorrect values at times
- Crimson Dance calculations were broken
- Bleed stack potential was incorrectly applied to per-stack bleed damage
- Multiple damage formulas were used simultaneously
- Output from multiple formulas did not align with numbers displayed to user

* Add test for bleed fix

* Fix ailment test

* fix bleed not reflecting different chances on crits

* Apply ailment chance and stack fixes to ignite and poison

* Fix Bleed/Ignite chance breakdown

* Apply instant ability ailment fix

-fixes nan / divide by 0 for hit like corpse explosion

* Move poison stacks affect into calcs tab

* Integrate new formula for average roll

---------

Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
2024-07-29 11:23:37 +10:00
QuickStick
cf1632fb2f Fix maximum shock double counting. (#5173)
* Fix maximum shock double counting.

* Adding test case that would catch this bug

Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
2022-11-22 22:40:03 -06:00