s_colorSkillGreen
global · ui
- Address
0xc0d420· 4 bytes, up to0xc0d423- Type
uint32_t- Meaning
- Holds the green 0xff40c040 of a skill 50 to 99 above its requirement and of a lock with a key
- Confidence
- verified, proof one
- Finding
- ui/tooltipitemhead#the-skill-colours
Finding: The skill colours in ui: Item name, bind, lock and slot lines
0x529fa0 maps a skill requirement and the player's value to a colour pointer by difficulty. The
requirement is in ecx and the value in edx.
| value minus requirement | pointer | colour |
|---|---|---|
| 100 or more | 0xc0cf50 | gray 0xff808080 |
| 50 to 99 | 0xc0d420 | green 0xff40c040 |
| 25 to 49 | 0xc0cf18 | yellow 0xffffff00 |
| 0 to 24 | 0xc0d3a4 | orange 0xffff8040 |
| below 0 | 0xc0d3a8 | red 0xffff2020 |
The derivation is in the doc.