protected string CategoryString(CreatureStatCategory category)
        {
            switch (category)
            {
            case CreatureStatCategory.ADVANCEMENT:
                return("Advancement:");

            case CreatureStatCategory.COMBAT:
                return("Combat Stats:");

            case CreatureStatCategory.CORE:
                return("Core Stats:");

            case CreatureStatCategory.GENERAL:
                return("General Stats:");

            case CreatureStatCategory.PRISON:
                return("Prison Stats:");

            case CreatureStatCategory.OTHER:
            default:
                return("Misc. Stats:");
            }
        }
Exemple #2
0
 public SimpleCreatureStat(SimpleDescriptor statName, string immutableValue, CreatureStatCategory statCategory) : base(statName, statCategory)
 {
     simpleValue = immutableValue ?? throw new ArgumentNullException(nameof(immutableValue));
 }
Exemple #3
0
 protected CreatureStatBase(SimpleDescriptor nameCallback, CreatureStatCategory statCategory)
 {
     statName = nameCallback ?? throw new ArgumentNullException(nameof(nameCallback));
     category = statCategory;
 }
 internal CreatureStatNumeric(SimpleDescriptor statName, CreatureStatCategory statCategory) : base(statName, statCategory)
 {
 }
Exemple #5
0
 internal CreatureStatWithMinMax(SimpleDescriptor statName, CreatureStatCategory statCategory) : base(statName, statCategory)
 {
 }