ui/richtext/RichTextDmgCantKill.cs

A small UI rich text component class that defines a panel for the text "(this dmg can't kill you)". It sets the text to be italic, a font size of 10, and a semi-transparent white color.

[RichTextPanel( @"\(this dmg can't kill you\)" )]
public class RichTextDmgCantKill : RichTextBase
{
	public override bool Italic => true;

	public override float? FontSize => 10f;
	public override Color Color => new Color( 1f ).WithAlpha(0.6f);
}