PathOfBuildingCommunity / PathOfBuilding

Offline build planner for Path of Exile.
https://pathofbuilding.community
Other
4.01k stars 2.08k forks source link

Implement Guard Skill Mode #8343

Open Regisle opened 1 month ago

Regisle commented 1 month ago

This implements a guard skill mode config, allowing guard skills to be scaled by uptime, separately for EHP and for Max Hit.

The default is average for EHP, and disabled for Max Hit, with options for Average / Disabled, Maximum / Disabled, Average / Maximum and Maximum / Maximum. I considered adding options for allowing max hit to use an average mode, and thus has been implemented on the backend, just not as options in the config due to the extra clutter it would add compared to how often it would be used, this can be revised at a later date.

Immortal call is not scaled by this setting, and thus is now automatically disabled on import, as scaling this ended up really messy as I needed to add extra stats for the scaled and unscaled damage reduction of it. It does however also scale vaal arctic armour, as that was commonly used for large max hit with no proper uptime.

This still heavily undervalues guard skills for very large EHP, where you can survive long enough to get multiple uses of the skill, but that will be fixed elsewhere.

This also adds a note to the sidebar EHP if guardskills are being applied image

This adds the same note regardless if its scaled by uptime or not, as it gets too long to differentiate them, and does not add the note for immortal call. I can possibly also add this note to the max hits.