A RichTextPanel subclass that defines styling for "pierce" text tokens in rich text. It sets text color, a left skew, a semi-transparent blue background, and a border radius.
[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)
//];
}