ui/richtext/RichTextAttackReloadSpeed.cs

A RichText panel definition for UI that matches the phrase "Attack/Reload Speed" and displays a styled stat entry. It sets icon, color, font weight/size, underline and provides a single stat mapping to PlayerStat.AttackSpeed formatted as a percentage difference.

Reflection
[RichTextPanel( @"\b[Aa]ttack/[Rr]eload [Ss]peed\b" )]
public class RichTextAttackReloadSpeed : RichTextBase
{
	public override string Icon => "";

	public override Color Color => new Color(0.5f, 1f, 0.7f);

	public override int? FontWeight => 400;

	public override float? FontSize => 12;

	public override bool Underline => true;
	public override Color? UnderlineColor => new Color( 0.3f, 0.8f, 0.5f, 0.3f );

	public override RichTextStatEntry[] Stats => [
		new(PlayerStat.AttackSpeed, StatFormat.PercentageDiff)
	];
}