示例#1
0
        public virtual string GetAllStats()
        {
            string output = $"{Name}, lvl {Level.Value} {char.ToUpper(Gender)}\n";

            output += $"HP: {CurrentHp.Value} / {Hp} AC: {ArmorClass}\n";
            output += $"{AbilityScores.GetShortDescription()}\n";
            output += $"Inventory: {ListItems()}";
            output += $"Status Effects: {ListStatusEffects()}";
            return(output);
        }
示例#2
0
        public override string GetAllStats()
        {
            string output = $"{Name}, lvl {Level.Value} {char.ToUpper(Gender)} {Race.Name} {Caste.Name}\n";

            output += $"HP: {CurrentHp.Value} / {Hp} AC: {ArmorClass}\n";
            output += $"{AbilityScores.GetShortDescription()}\n";
            output += $"Inventory: {ListItems()}\n";
            output += $"Status Effects: {ListStatusEffects()}\n";
            if (HiddenDc > 0)
            {
                output += $"Currently hidden with DC of {HiddenDc}.\n";
            }
            return(output);
        }