A RichText panel type for UI that displays the number of bullet pierces. It specifies an icon and a single stat entry mapping PlayerStat.BulletNumPiercing formatted as an integer.
[RichTextPanel( @"\b[Bb]ullet [Pp]ierc(e|ing)s?\b" )]
public class RichTextNumPierces : RichTextBase
{
public override string Icon => "near_me_disabled";
public override RichTextStatEntry[] Stats => [
new(PlayerStat.BulletNumPiercing, StatFormat.Int)
];
}