I am doing some optic changes. And what i want to do next is for the Elemental Bonus.
Atm its white so if we have for Example
Electric
The weapon is giving me in white
Electric +3
Critical Chance+3
However what i want is 2 diff colors
Example
Electric+3 must be yellow
Critical Chance+3 must be in an other color for now lets say red.
Now i can change the hole thing from white to an different color by using an different dwItemColor
But how can i do it for 2 things
I have taken an look into WndManager.cpp and come across this
Code:
dwItemColor[FIRST_TC].dwResistElectricity = D3DCOLOR_XRGB( 255, 255, 255 );
Code:
dwItemColor[SECOND_TC].dwResistElectricity = D3DCOLOR_XRGB( 21, 55, 152 );
Any help would be appreciated.
With kind regards.






