Commit 07b4083
Fix globalLimit being sensitive to tag order (#1225)
* Fix globalLimit being sensitive to tag order (#8652)
* FEAT(items): Add showcased uniques to New.lua
* FEAT(mods): add handling for new mods on Scornflux
* FEAT(mods): add handling for "Take X Fire Damage when you use a Skill"
* FEAT(mods): add handling for Damage penetrates "Fire Resistance equal to
your overcapped Fire Resistance"
* FEAT(mods): add handling for "Warcries have an additional Life Cost equal to 15% of your Maximum Life"
* FEAT(mods): add handling for "Warcry Skills have X increased Area of
Effect"
* FEAT(mods): add handling for `Gain no armour from equipped body armour`
* FEAT(mods): port generalized "doubled" mod handling from POB2
#1095
* Update spelling and ModCache
* FIX(mods): globalLimit style mods did not work sometimes
When a mod gots pice wise parsed the tags can be added to the mod table
in unpredictable order. The inital implementation was simply checking
the first tag which caused the global limit functionality to not work
sometimes. This commit moves the logic into EvalMod.
* FEAT(mods): add support for "you have no Str/Dex" mods
* FIX(spelling): un-rake-able
---------
Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
* [PATCH 1/3] FIX: globalLimit not applying
* [PATCH 2/3] MISC(test): add some more tests for globlaLimit type mods
* [PATCH 3/3] MISC(test): test PerStat code path
* Fix tests for PoE2
---------
Co-authored-by: Paliak <91493239+Paliak@users.noreply.github.com>1 parent 6a06297 commit 07b4083
3 files changed
Lines changed: 63 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
179 | 223 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 101 | + | |
109 | 102 | | |
110 | 103 | | |
111 | 104 | | |
| |||
133 | 126 | | |
134 | 127 | | |
135 | 128 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 129 | + | |
144 | 130 | | |
145 | 131 | | |
146 | 132 | | |
| |||
249 | 235 | | |
250 | 236 | | |
251 | 237 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 238 | + | |
261 | 239 | | |
262 | 240 | | |
263 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
825 | 826 | | |
826 | 827 | | |
827 | 828 | | |
828 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
829 | 842 | | |
830 | | - | |
| 843 | + | |
0 commit comments