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

Fix Warden Import Colour #8362

Merged

Conversation

Regisle
Copy link
Member

@Regisle Regisle commented Nov 18, 2024

Warden was missing from the list as its "new" and so the colour would be nil

I would prefer to do somthing like classColor = colorCodes[charClass:upper()] or (main.tree[latestTreeVersion].ascendNameMap[charClass] and colorCodes[main.tree[latestTreeVersion].ascendNameMap[charClass].class.name:upper()]) or colorCodes.DEFAULT
instead of the if statements, but the ascendNameMap uses the ID not the name, and so raider is the valid class that maps to warden, and requires more extensive changes to work

@LocalIdentity LocalIdentity added the user-interface Changes that only affect the UI label Nov 18, 2024
@LocalIdentity LocalIdentity merged commit bd76683 into PathOfBuildingCommunity:dev Nov 18, 2024
1 of 2 checks passed
@Regisle Regisle deleted the fixWardenImportColour branch November 18, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-interface Changes that only affect the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants