Modifiers that grant buffs contain their own stats as well as the stats granted by the buff in the mods.dat table. This change removes all stats granted by the buff from the modifier, so mods such as Nearby Enemies' Chaos Resistance is 0 will not also say "Chaos Resistance is Zero".
Caveats
This is a naive approach to this issue; there may be some other way that the game hides these stats, but it seems to work for all the cases that l am aware of.
Abstract
Remove unnecessary stats from modifiers, fixing https://github.com/Project-Path-of-Exile-Wiki/PyPoE/issues/126
Action Taken
Modifiers that grant buffs contain their own stats as well as the stats granted by the buff in the mods.dat table. This change removes all stats granted by the buff from the modifier, so mods such as Nearby Enemies' Chaos Resistance is 0 will not also say "Chaos Resistance is Zero".
Caveats
This is a naive approach to this issue; there may be some other way that the game hides these stats, but it seems to work for all the cases that l am aware of.