[MoM] Check vitamins not powers for concentration breakers #75795
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Mods "[MoM] Check vitamins not powers for concentration breakers "
Purpose of change
Noticed that for things like being dazed or set on fire, the EoCs were checking a small subset of specific power effects before rolling to maintain concentration. It's better and more comprehensive to check the concentration vitamin directly.
Describe the solution
Remove list of powers, check vitamin.
Also add a jmath statement to handle all concentration checks and bonuses and route the existing EoCs through it for ease of later maintenance.
Describe alternatives you've considered
Testing
Ran back and forth. Winded broke concentration sometimes, but not all the time.
Waited with powers above limit. Limit broke eventually, but not immediately.
Additional context
A lot of combat buffs were not being checked for in the concentration breaking EoCs, so getting thrown, slipping, being set on fire, being boomered, etc are going to be much more dangerous now.