Skip to content

Improve Config tab charge UI (colors, Max, alt-charge names)#9975

Closed
mvpizza12-ai wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
mvpizza12-ai:feat/config-charge-ui
Closed

Improve Config tab charge UI (colors, Max, alt-charge names)#9975
mvpizza12-ai wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
mvpizza12-ai:feat/config-charge-ui

Conversation

@mvpizza12-ai

Copy link
Copy Markdown

Description of the problem being solved:

Config's Power / Frenzy / Endurance charge checkboxes are plain text and don't show maximum charges or converted alt-charge names (Absorption / Affliction / Brutal from e.g. Graven's Secret). This makes it harder to see at a glance what the build is using and what each charge does.

Changes:

  • Color charge names with Int / Dex / Str (colorCodes)
  • Show Max N to the right of each charge checkbox (from mainOutput.*ChargesMax)
  • Hover tooltips list base charge effects from data.characterConstants
  • When charges convert, labels rename to Absorption / Affliction / Brutal (same attribute colors) and tooltips switch accordingly
  • ConfigTab gains small generic helpers: labelFunc, labelWidthHint, optional chargeMaxOutput / chargeColor for checkboxes

No calculation changes — UI / Config presentation only.

Steps taken to verify a working solution:

  • Diff limited to ConfigOptions.lua + ConfigTab.lua
  • Conversion flags already exist in ModParser / CalcPerform (*ChargesConvertTo*)
  • Max values read from existing output.PowerChargesMax / FrenzyChargesMax / EnduranceChargesMax

Link to a build that showcases this PR:

Any build; for alt-charge rename, equip an item that grants Absorption/Affliction/Brutal instead of Power/Frenzy/Endurance (e.g. Graven's Secret) and open Config → When In Combat.

Show Power/Frenzy/Endurance in Int/Dex/Str colors with Max N beside each checkbox, hover tooltips from character constants, and rename to Absorption/Affliction/Brutal when converted.

Co-authored-by: Cursor <cursoragent@cursor.com>
@LocalIdentity

Copy link
Copy Markdown
Contributor

Pr crashes on load, does not have an example build, does not contain before an after pics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants