Add support for inc brand aoe after 50% attached duration mastery #7683
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.
Description of the problem being solved:
Adds support for the "Brands have 30% increased Area of Effect if 50% of the Attached Duration expired" brand mastery.
Adds a new config "Last 50% of attached duration?", similar to the current 25% from from the heiro ascendancy.
AoE only applies to brands -> had to introduce small changes to the AoE calc to support brand specific AoE modifiers. The inc. AoE mod is still shown in the breakdown for non-brands but it is not applied. If s1 has a clue on how to have a skill type condition in the CalcSections.lua feel free to comment.
E.g. Toxic Rain:
Steps taken to verify a working solution:
Link to a build that showcases this PR:
https://pobb.in/UTuU9CKlmVuY
Before screenshot:
After screenshot: