A small RichText panel component that matches text like "Bullet Pierce" or "Bullet Piercings" and exposes a stat icon and a single stat mapping. It sets Icon to "near_me_disabled" and declares one stat entry for 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)
];
}