public string HpSystemToRichString(HpSystem hpSystem)
 {
     return(RichStrings.WithColor($"[{hpSystem.HpCurrent}/{hpSystem.HpBase}]", DamageStates.DamageStateToColor(hpSystem.GetDamageState())));
 }
示例#2
0
 public static string DamageStateToStrWithColor(EDamageState damageState)
 {
     return(RichStrings.WithColor(DamageStateToStr(damageState), DamageStateToColor(damageState)));
 }