internal string GetInfo_DmgRes() { string s = null; for (int i = 0; i < ReferenceData.DmgType.Length; i++) { long res = Resistance(i); long dmg = Damage(i); if (dmg > 0 || res != 0) { s += $"{EUI.GetElement((ReferenceData.DamageType)i)}: "; if (dmg > 0) { s += $"{EUI.attack}: {dmg} |-"; } if (res != 0) { s += $"-| {EUI.shield}: {res}"; } s += Environment.NewLine; } } return(s); }