Unfortunately, I checked the source code for the CombatText class and the colors all have the readonly modifier, preventing any changes to the colors. I couldn't find any classes or methods that allow one to override the colors, I only located the overrideColor() method which is for tooltips.
In the StrikeNPC() method, the sequence in which I called the methods was as follows:
Code:
StrikeNPC(...)
{
...
CombatText.clearAll();
CombatText.NewText(...);
return true;
}
This code results in no changes to the original behavior; I simply get two copies of the damage text, one drawn using the vanilla color, the other in the custom color.
I also tried to clearAll() after drawing the text for good measure, but that simply clears the text which I draw, not the vanilla text, as expected.
Thanks for the advice though!