Commit e4193ee
Fix increased Enemy damage taken mods doubling their affect in Ailment calcs (PathOfBuildingCommunity#1819)
* Added de-duping to ailment type caculation to fix double counting in bleed and poison.
* Better fix
The mod was only there to handle elemental damage taken mods so now it is simplified
Also adds a test to make sure it works correctly
---------
Co-authored-by: Andrew Klotz <andrewsklotz@gamil.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>1 parent 75bae0d commit e4193ee
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4882 | 4882 | | |
4883 | 4883 | | |
4884 | 4884 | | |
4885 | | - | |
4886 | | - | |
| 4885 | + | |
| 4886 | + | |
| 4887 | + | |
4887 | 4888 | | |
4888 | 4889 | | |
4889 | 4890 | | |
| |||
0 commit comments