A UI rich text panel class that highlights "Attack Speed" text. It defines display properties like icon (empty), color, skew, font weight, and a stat entry showing AttackSpeed formatted as a percentage difference.
[RichTextPanel( @"\b[Aa]ttack [Ss]peed\b" )]
public class RichTextAttackSpeed : RichTextBase
{
//public override string Icon => "fast_forward";
public override string Icon => "";
public override Color Color => new Color( 1f, 0.7f, 0.7f );
public override float? SkewX => -10f;
public override int? FontWeight => 500;
//public override string AnimationName => "recoil";
//public override float? AnimationDuration => 0.8f;
//public override string AnimationTimingFunction => "ease-out";
public override RichTextStatEntry[] Stats => [
new(PlayerStat.AttackSpeed, StatFormat.PercentageDiff)
];
}