danreeves / dt-exchange

40 stars 17 forks source link

Rarity colours do not match in-game #34

Closed Coconutcoo closed 1 year ago

Coconutcoo commented 1 year ago

Two bugs in one - the colours used are different from in-game, and also we're missing purple. This is mostly apparently when viewing Melk's shop. You'll see orange and red rather than purple and orange.

The colors defined at https://github.com/danreeves/dt-exchange/blob/main/src/components/Store.tsx#L62-L68 should be replaced with equivalents derived from https://github.com/Cortex-Network/Darkmass-Data-Mining/blob/main/All%20.lua%20Scripts/scripts/foundation/utilities/color.lua#L2171-L2242.

New will look like; image

The Lua uses ARGB, not RGBA.