PathOfBuilding
PathOfBuilding copied to clipboard
Add support for adrenaline on stun mastery
Description of the problem being solved:
Adds support for the "Gain Adrenaline when Stunned, for 2 seconds per 100ms of Stun Duration" stun mastery mod.
Only active if the "Have you been stunned recently" config is ticked.
Technically small improvement would be to check if the stun duration is longer than 100ms (mastery doesn't do anything ingame if it's lower than that), but I couldn't figure out how to set a condition in the calcsDefence that is then respected by the mod parser. Not really an issue tho, no real build has the 300%+ stun recovery needed where this case would apply.
Steps taken to verify a working solution:
- Spec the mastery
- Enable the config for "Have you been stunned recently"
- DPS should change since you now have adrenaline.
Link to a build that showcases this PR:
https://pobb.in/bVtxVL8hQwg9
Before screenshot:
After screenshot: