Skip to content

Fix Nebulis and similar mods being treated as uncapped#8666

Merged
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
Paliak:fix-globalLimit
Jun 13, 2025
Merged

Fix Nebulis and similar mods being treated as uncapped#8666
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
Paliak:fix-globalLimit

Conversation

@Paliak

@Paliak Paliak commented Jun 13, 2025

Copy link
Copy Markdown
Contributor

Closes #8664 and #2735 (comment)

Description of the problem being solved:

#8652 attempted to fix a problem with globalLimits where ordering of tags in the mod table caused the limit to not apply by moving the limit check into ModStore. This caused the limit to apply only to "Multiplier" type mods that do not actually multiply the mod value. This pr fixes the issue by moving the limit check into a separate loop after applying mod tags.

Ideally, looping over the tags again wouldn't be needed if there was a good way to either move the global limit variables into the main mod body or ensure ordering of mod tags inside the mod table.

Steps taken to verify a working solution:

@Paliak Paliak added the bug: behaviour Behavioral differences label Jun 13, 2025
@Wires77

Wires77 commented Jun 13, 2025

Copy link
Copy Markdown
Member

Would you want to add some tests so this doesn't get missed again?

@LocalIdentity LocalIdentity changed the title Fix globalLimit not applying Fix Nebulis and similar mods being treated as uncapped Jun 13, 2025
@LocalIdentity LocalIdentity merged commit 0395117 into PathOfBuildingCommunity:dev Jun 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: behaviour Behavioral differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replica Nebulis ignoring 300% damage cap

3 participants