ui/richtext/RichTextDamage.cs

A small rich text panel class for UI that matches damage-related words and supplies an icon string. It is attributed with a regex pattern to trigger on words like 'Damage', 'DMG', or 'DMG/S'. It overrides Icon to return an empty string.

[RichTextPanel( @"\b([Dd]amage|[Dd][Mm][Gg])(/[Ss])?\b", UseCaptureGroup = false )]
public class RichTextDamage : RichTextBase
{
	public override string Icon => "";
}