Skip to content

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