Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve pvp breakdowns #6276

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

Regisle
Copy link
Member

@Regisle Regisle commented Jul 11, 2023

Removes unnecessary info from the breakdown if it does not contain "elemental" or "non elemental" damage

Before: (no non-ele, still shows unnecessary clutter)
image

After:
image

note, unsure if elseif percentageElemental <= 0 then and elseif percentageNonElemental <= 0 then are the best way to check for these, they are not strictly 0 or 1 if the other doesnt exist, due to being floats, sometimes the value is something like -1.2*2^-31 (floats are strange)

@QuickStick123 QuickStick123 added the enhancement New feature, calculation, or mod label Aug 2, 2023
@LocalIdentity LocalIdentity merged commit e340a17 into PathOfBuildingCommunity:dev Aug 13, 2023
@Regisle Regisle deleted the PVPBreakdowns branch August 13, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants