ui/richtext/RichTextPierce.cs

A RichText style class for UI text matching the word 'pierce' or 'pierces' or 'piercing'. It defines text color, a left skew, a semi-transparent blue background and rounded border radius for matched tokens. Commented-out code shows an unused stats array.

[RichTextPanel( @"\b[Pp]ierc(es?|ing)\b" )]
public class RichTextPierce : RichTextBase
{
	public override Color Color => new Color(1f, 1f, 1f);

	public override float? SkewX => -18f;

	public override Color? BackgroundColor => Color.Blue.WithAlpha( 0.3f );
	public override float? BorderRadius => 15f;

	//public override RichTextStatEntry[] Stats => [
	//	new(PlayerStat.BulletExtraBounceAmount, StatFormat.Int),
	//	new(PlayerStat.BulletExtraBounceChance, StatFormat.Percentage)
	//];
}