示例#1
0
        public string GetFormattedCurrentValue(EntityStat es)
        {
            var fv = es.GetFormattedCurrentValue();

            //if (es.Unit != EntityStatUnit.Percentage && IsPercentageFromKind)//Health, Magic... ability is always in %
            //  fv += "%";
            return(fv);
        }
示例#2
0
        public string GetFormattedCurrentValue(EntityStat es)
        {
            var fv = es.GetFormattedCurrentValue();

            if (!es.IsPercentage && IsPercentageFromKind())
            {
                fv += "%";
            }
            return(fv);
        }