ui/richtext/RichTextNonBulletDamage.cs

A small UI RichText panel type that matches the phrase "Non-Bullet Damage" (case-insensitive variants) and sets a color for the matched text. It is declared with a RichTextPanel attribute and overrides the Color property to a grey value.

[RichTextPanel( @"\b[Nn]on-[Bb]ullet ([Dd]amage|[Dd][Mm][Gg])\b", UseCaptureGroup = false )]
public class RichTextNonBulletDamage : RichTextBase
{
	//public override string ImagePath => "textures/ui/bullet-icon.png";
	//public override string TextOverride => "non-";

	public override Color Color => new Color( 0.4f, 0.4f, 0.4f );
}