A small UI rich text panel class that matches melee damage keywords. It derives from RichTextBase and sets an empty Icon and a specific Color for matched text. The RichTextPanel attribute provides a regex to match 'Melee Damage', 'DMG', or 'Attack' variants.
[RichTextPanel( @"\b[Mm]elee ([Dd]amage|[Dd][Mm][Gg]|[Aa]ttack)\b" )]
public class RichTextMeleeDamage : RichTextBase
{
//public override string ImagePath => "textures/ui/melee.png";
public override string Icon => "";
public override Color Color => new Color( 0.6f, 0.5f, 0.2f );
}