コード例 #1
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                FeatConstants.SimpleWeaponProficiency,
                FeatConstants.MartialWeaponProficiency,
                FeatConstants.LightArmorProficiency,
                FeatConstants.MediumArmorProficiency,
                FeatConstants.HeavyArmorProficiency,
                FeatConstants.ShieldProficiency,
                FeatConstants.AuraOfGood,
                FeatConstants.SpellLikeAbility + SpellConstants.DetectAlignment,
                FeatConstants.SmiteEvil + "1",
                FeatConstants.SmiteEvil + "2",
                FeatConstants.SmiteEvil + "3",
                FeatConstants.SmiteEvil + "4",
                FeatConstants.SmiteEvil + "5",
                FeatConstants.DivineGrace,
                FeatConstants.LayOnHands,
                FeatConstants.AuraOfCourage,
                FeatConstants.DivineHealth,
                FeatConstants.Turn,
                FeatConstants.SpellLikeAbility + SpellConstants.RemoveDisease + "1",
                FeatConstants.SpellLikeAbility + SpellConstants.RemoveDisease + "2",
                FeatConstants.SpellLikeAbility + SpellConstants.RemoveDisease + "3",
                FeatConstants.SpellLikeAbility + SpellConstants.RemoveDisease + "4",
                FeatConstants.SpellLikeAbility + SpellConstants.RemoveDisease + "5"
            };

            AssertCollectionNames(names);
        }
コード例 #2
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                FeatConstants.SimpleWeaponProficiency
            };

            AssertCollectionNames(names);
        }
コード例 #3
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                GroupConstants.Deflection,
                GroupConstants.NaturalArmor,
                GroupConstants.DodgeBonus,
                GroupConstants.ArmorBonus
            };

            AssertCollectionNames(names);
        }
コード例 #4
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                FeatConstants.SimpleWeaponProficiency,
                FeatConstants.MartialWeaponProficiency + WeaponConstants.Longsword,
                FeatConstants.MartialWeaponProficiency + WeaponConstants.Rapier,
                FeatConstants.MartialWeaponProficiency + WeaponConstants.Sap,
                FeatConstants.MartialWeaponProficiency + WeaponConstants.ShortSword,
                FeatConstants.MartialWeaponProficiency + WeaponConstants.Shortbow,
                FeatConstants.ExoticWeaponProficiency + WeaponConstants.Whip,
                FeatConstants.LightArmorProficiency,
                FeatConstants.ShieldProficiency,
                FeatConstants.BardicMusic + "1",
                FeatConstants.BardicMusic + "2",
                FeatConstants.BardicMusic + "3",
                FeatConstants.BardicMusic + "4",
                FeatConstants.BardicMusic + "5",
                FeatConstants.BardicMusic + "6",
                FeatConstants.BardicMusic + "7",
                FeatConstants.BardicMusic + "8",
                FeatConstants.BardicMusic + "9",
                FeatConstants.BardicMusic + "10",
                FeatConstants.BardicMusic + "11",
                FeatConstants.BardicMusic + "12",
                FeatConstants.BardicMusic + "13",
                FeatConstants.BardicMusic + "14",
                FeatConstants.BardicMusic + "15",
                FeatConstants.BardicMusic + "16",
                FeatConstants.BardicMusic + "17",
                FeatConstants.BardicMusic + "18",
                FeatConstants.BardicMusic + "19",
                FeatConstants.BardicMusic + "20",
                FeatConstants.BardicKnowledge,
                FeatConstants.Countersong,
                FeatConstants.Fascinate,
                FeatConstants.InspireCourage + "1",
                FeatConstants.InspireCourage + "2",
                FeatConstants.InspireCourage + "3",
                FeatConstants.InspireCourage + "4",
                FeatConstants.InspireCompetence,
                FeatConstants.Suggestion,
                FeatConstants.InspireGreatness,
                FeatConstants.SongOfFreedom,
                FeatConstants.InspireHeroics,
                FeatConstants.MassSuggestion
            };

            AssertCollectionNames(names);
        }
コード例 #5
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                FeatConstants.SimpleWeaponProficiency,
                FeatConstants.MartialWeaponProficiency,
                FeatConstants.LightArmorProficiency,
                FeatConstants.MediumArmorProficiency,
                FeatConstants.HeavyArmorProficiency,
                FeatConstants.ShieldProficiency,
                FeatConstants.TowerShieldProficiency
            };

            AssertCollectionNames(names);
        }
コード例 #6
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                FeatConstants.ArmorBonus,
                FeatConstants.FearAura,
                FeatConstants.ParalyzingTouch,
                FeatConstants.TurnResistance,
                FeatConstants.DamageReduction,
                FeatConstants.ImmuneToEffect + FeatConstants.Foci.Cold,
                FeatConstants.ImmuneToEffect + FeatConstants.Foci.Electricity,
                FeatConstants.ImmuneToEffect + SpellConstants.Polymorph,
                FeatConstants.ImmuneToEffect + "Mind",
                FeatConstants.SkillBonus + SkillConstants.Hide,
                FeatConstants.SkillBonus + SkillConstants.Listen,
                FeatConstants.SkillBonus + SkillConstants.MoveSilently,
                FeatConstants.SkillBonus + SkillConstants.Search,
                FeatConstants.SkillBonus + SkillConstants.SenseMotive,
                FeatConstants.SkillBonus + SkillConstants.Spot
            };

            AssertCollectionNames(names);
        }
コード例 #7
0
        public override void CollectionNames()
        {
            var names = new[]
            {
                FeatConstants.ArmorBonus,
                FeatConstants.Slam + RaceConstants.Sizes.Large,
                FeatConstants.Slam + RaceConstants.Sizes.Medium,
                FeatConstants.Slam + RaceConstants.Sizes.Small,
                FeatConstants.BloodDrain,
                FeatConstants.ChildrenOfTheNight,
                FeatConstants.Dominate,
                FeatConstants.CreateSpawn,
                FeatConstants.EnergyDrain,
                FeatConstants.AlternateForm,
                FeatConstants.DamageReduction,
                FeatConstants.FastHealing,
                FeatConstants.GaseousForm,
                FeatConstants.Resistance + FeatConstants.Foci.Cold,
                FeatConstants.Resistance + FeatConstants.Foci.Electricity,
                FeatConstants.SpellLikeAbility + SpellConstants.SpiderClimb,
                FeatConstants.TurnResistance,
                FeatConstants.SkillBonus + SkillConstants.Bluff,
                FeatConstants.SkillBonus + SkillConstants.Hide,
                FeatConstants.SkillBonus + SkillConstants.Listen,
                FeatConstants.SkillBonus + SkillConstants.MoveSilently,
                FeatConstants.SkillBonus + SkillConstants.Search,
                FeatConstants.SkillBonus + SkillConstants.SenseMotive,
                FeatConstants.SkillBonus + SkillConstants.Spot,
                FeatConstants.Alertness,
                FeatConstants.CombatReflexes,
                FeatConstants.Dodge,
                FeatConstants.ImprovedInitiative,
                FeatConstants.LightningReflexes
            };

            AssertCollectionNames(names);
        }
コード例 #8
0
ファイル: AnimalsTests.cs プロジェクト: DnDGen/CharacterGen
        public void AnimalsForMediumRaces()
        {
            var animals = new[]
            {
                RaceConstants.BaseRaces.Animals.Badger,
                RaceConstants.BaseRaces.Animals.Camel,
                RaceConstants.BaseRaces.Animals.DireRat,
                RaceConstants.BaseRaces.Animals.Dog,
                RaceConstants.BaseRaces.Animals.RidingDog,
                RaceConstants.BaseRaces.Animals.Eagle,
                RaceConstants.BaseRaces.Animals.Hawk,
                RaceConstants.BaseRaces.Animals.LightHorse,
                RaceConstants.BaseRaces.Animals.HeavyHorse,
                RaceConstants.BaseRaces.Animals.Owl,
                RaceConstants.BaseRaces.Animals.Pony,
                RaceConstants.BaseRaces.Animals.SmallViperSnake,
                RaceConstants.BaseRaces.Animals.MediumViperSnake,
                RaceConstants.BaseRaces.Animals.Wolf,
                RaceConstants.BaseRaces.Animals.Ape,
                RaceConstants.BaseRaces.Animals.BlackBear,
                RaceConstants.BaseRaces.Animals.Bison,
                RaceConstants.BaseRaces.Animals.Boar,
                RaceConstants.BaseRaces.Animals.Cheetah,
                RaceConstants.BaseRaces.Animals.DireBadger,
                RaceConstants.BaseRaces.Animals.DireBat,
                RaceConstants.BaseRaces.Animals.DireWeasel,
                RaceConstants.BaseRaces.Animals.Leopard,
                RaceConstants.BaseRaces.Animals.MonitorLizard,
                RaceConstants.BaseRaces.Animals.ConstrictorSnake,
                RaceConstants.BaseRaces.Animals.LargeViperSnake,
                RaceConstants.BaseRaces.Animals.Wolverine,
                RaceConstants.BaseRaces.Animals.BrownBear,
                RaceConstants.BaseRaces.Animals.DireWolverine,
                RaceConstants.BaseRaces.Animals.Deinonychus,
                RaceConstants.BaseRaces.Animals.DireApe,
                RaceConstants.BaseRaces.Animals.DireBoar,
                RaceConstants.BaseRaces.Animals.DireWolf,
                RaceConstants.BaseRaces.Animals.Lion,
                RaceConstants.BaseRaces.Animals.Rhinoceras,
                RaceConstants.BaseRaces.Animals.HugeViperSnake,
                RaceConstants.BaseRaces.Animals.Tiger,
                RaceConstants.BaseRaces.Animals.PolarBear,
                RaceConstants.BaseRaces.Animals.DireLion,
                RaceConstants.BaseRaces.Animals.Megaraptor,
                RaceConstants.BaseRaces.Animals.GiantConstrictorSnake,
                RaceConstants.BaseRaces.Animals.DireBear,
                RaceConstants.BaseRaces.Animals.Elephant,
                RaceConstants.BaseRaces.Animals.DireTiger,
                RaceConstants.BaseRaces.Animals.Triceratops,
                RaceConstants.BaseRaces.Animals.Tyrannosaurus,
                RaceConstants.BaseRaces.Animals.HeavyWarhorse,
                RaceConstants.BaseRaces.Animals.Bat,
                RaceConstants.BaseRaces.Animals.Cat,
                RaceConstants.BaseRaces.Animals.Lizard,
                RaceConstants.BaseRaces.Animals.Rat,
                RaceConstants.BaseRaces.Animals.Raven,
                RaceConstants.BaseRaces.Animals.TinyViperSnake,
                RaceConstants.BaseRaces.Animals.Toad,
                RaceConstants.BaseRaces.Animals.Weasel,
                RaceConstants.BaseRaces.Animals.ShockerLizard,
                RaceConstants.BaseRaces.Animals.Stirge,
                RaceConstants.BaseRaces.Animals.FormianWorker,
                RaceConstants.BaseRaces.Animals.Imp,
                RaceConstants.BaseRaces.Animals.Pseudodragon,
                RaceConstants.BaseRaces.Animals.Quasit,
                RaceConstants.BaseRaces.Animals.CelestialBat,
                RaceConstants.BaseRaces.Animals.CelestialCat,
                RaceConstants.BaseRaces.Animals.CelestialHawk,
                RaceConstants.BaseRaces.Animals.CelestialLizard,
                RaceConstants.BaseRaces.Animals.CelestialOwl,
                RaceConstants.BaseRaces.Animals.CelestialRat,
                RaceConstants.BaseRaces.Animals.CelestialRaven,
                RaceConstants.BaseRaces.Animals.CelestialTinyViperSnake,
                RaceConstants.BaseRaces.Animals.CelestialToad,
                RaceConstants.BaseRaces.Animals.CelestialWeasel,
                RaceConstants.BaseRaces.Animals.FiendishBat,
                RaceConstants.BaseRaces.Animals.FiendishCat,
                RaceConstants.BaseRaces.Animals.FiendishHawk,
                RaceConstants.BaseRaces.Animals.FiendishLizard,
                RaceConstants.BaseRaces.Animals.FiendishOwl,
                RaceConstants.BaseRaces.Animals.FiendishRat,
                RaceConstants.BaseRaces.Animals.FiendishRaven,
                RaceConstants.BaseRaces.Animals.FiendishTinyViperSnake,
                RaceConstants.BaseRaces.Animals.FiendishToad,
                RaceConstants.BaseRaces.Animals.FiendishWeasel,
                RaceConstants.BaseRaces.Animals.SmallAirElemental,
                RaceConstants.BaseRaces.Animals.SmallEarthElemental,
                RaceConstants.BaseRaces.Animals.SmallFireElemental,
                RaceConstants.BaseRaces.Animals.SmallWaterElemental,
                RaceConstants.BaseRaces.Animals.Homonculus,
                RaceConstants.BaseRaces.Animals.AirMephit,
                RaceConstants.BaseRaces.Animals.DustMephit,
                RaceConstants.BaseRaces.Animals.EarthMephit,
                RaceConstants.BaseRaces.Animals.FireMephit,
                RaceConstants.BaseRaces.Animals.IceMephit,
                RaceConstants.BaseRaces.Animals.MagmaMephit,
                RaceConstants.BaseRaces.Animals.OozeMephit,
                RaceConstants.BaseRaces.Animals.SaltMephit,
                RaceConstants.BaseRaces.Animals.SteamMephit,
                RaceConstants.BaseRaces.Animals.WaterMephit
            };

            DistinctCollection(RaceConstants.Sizes.Medium, animals);
        }
コード例 #9
0
ファイル: AnimalsTests.cs プロジェクト: DnDGen/CharacterGen
        public void MageAnimals(string className)
        {
            var animals = new[]
            {
                RaceConstants.BaseRaces.Animals.Bat,
                RaceConstants.BaseRaces.Animals.Cat,
                RaceConstants.BaseRaces.Animals.Hawk,
                RaceConstants.BaseRaces.Animals.Lizard,
                RaceConstants.BaseRaces.Animals.Owl,
                RaceConstants.BaseRaces.Animals.Rat,
                RaceConstants.BaseRaces.Animals.Raven,
                RaceConstants.BaseRaces.Animals.TinyViperSnake,
                RaceConstants.BaseRaces.Animals.Toad,
                RaceConstants.BaseRaces.Animals.Weasel,
                RaceConstants.BaseRaces.Animals.ShockerLizard,
                RaceConstants.BaseRaces.Animals.Stirge,
                RaceConstants.BaseRaces.Animals.FormianWorker,
                RaceConstants.BaseRaces.Animals.Imp,
                RaceConstants.BaseRaces.Animals.Pseudodragon,
                RaceConstants.BaseRaces.Animals.Quasit,
                RaceConstants.BaseRaces.Animals.CelestialBat,
                RaceConstants.BaseRaces.Animals.CelestialCat,
                RaceConstants.BaseRaces.Animals.CelestialHawk,
                RaceConstants.BaseRaces.Animals.CelestialLizard,
                RaceConstants.BaseRaces.Animals.CelestialOwl,
                RaceConstants.BaseRaces.Animals.CelestialRat,
                RaceConstants.BaseRaces.Animals.CelestialRaven,
                RaceConstants.BaseRaces.Animals.CelestialTinyViperSnake,
                RaceConstants.BaseRaces.Animals.CelestialToad,
                RaceConstants.BaseRaces.Animals.CelestialWeasel,
                RaceConstants.BaseRaces.Animals.FiendishBat,
                RaceConstants.BaseRaces.Animals.FiendishCat,
                RaceConstants.BaseRaces.Animals.FiendishHawk,
                RaceConstants.BaseRaces.Animals.FiendishLizard,
                RaceConstants.BaseRaces.Animals.FiendishOwl,
                RaceConstants.BaseRaces.Animals.FiendishRat,
                RaceConstants.BaseRaces.Animals.FiendishRaven,
                RaceConstants.BaseRaces.Animals.FiendishTinyViperSnake,
                RaceConstants.BaseRaces.Animals.FiendishToad,
                RaceConstants.BaseRaces.Animals.FiendishWeasel,
                RaceConstants.BaseRaces.Animals.SmallAirElemental,
                RaceConstants.BaseRaces.Animals.SmallEarthElemental,
                RaceConstants.BaseRaces.Animals.SmallFireElemental,
                RaceConstants.BaseRaces.Animals.SmallWaterElemental,
                RaceConstants.BaseRaces.Animals.Homonculus,
                RaceConstants.BaseRaces.Animals.AirMephit,
                RaceConstants.BaseRaces.Animals.DustMephit,
                RaceConstants.BaseRaces.Animals.EarthMephit,
                RaceConstants.BaseRaces.Animals.FireMephit,
                RaceConstants.BaseRaces.Animals.IceMephit,
                RaceConstants.BaseRaces.Animals.MagmaMephit,
                RaceConstants.BaseRaces.Animals.OozeMephit,
                RaceConstants.BaseRaces.Animals.SaltMephit,
                RaceConstants.BaseRaces.Animals.SteamMephit,
                RaceConstants.BaseRaces.Animals.WaterMephit
            };

            DistinctCollection(className, animals);
        }
コード例 #10
0
ファイル: AnimalsTests.cs プロジェクト: DnDGen/CharacterGen
        public void DruidAnimals()
        {
            var animals = new[]
            {
                RaceConstants.BaseRaces.Animals.Badger,
                RaceConstants.BaseRaces.Animals.Camel,
                RaceConstants.BaseRaces.Animals.DireRat,
                RaceConstants.BaseRaces.Animals.Dog,
                RaceConstants.BaseRaces.Animals.RidingDog,
                RaceConstants.BaseRaces.Animals.Eagle,
                RaceConstants.BaseRaces.Animals.Hawk,
                RaceConstants.BaseRaces.Animals.LightHorse,
                RaceConstants.BaseRaces.Animals.HeavyHorse,
                RaceConstants.BaseRaces.Animals.Owl,
                RaceConstants.BaseRaces.Animals.Pony,
                RaceConstants.BaseRaces.Animals.SmallViperSnake,
                RaceConstants.BaseRaces.Animals.MediumViperSnake,
                RaceConstants.BaseRaces.Animals.Wolf,
                RaceConstants.BaseRaces.Animals.Ape,
                RaceConstants.BaseRaces.Animals.BlackBear,
                RaceConstants.BaseRaces.Animals.Bison,
                RaceConstants.BaseRaces.Animals.Boar,
                RaceConstants.BaseRaces.Animals.Cheetah,
                RaceConstants.BaseRaces.Animals.DireBadger,
                RaceConstants.BaseRaces.Animals.DireBat,
                RaceConstants.BaseRaces.Animals.DireWeasel,
                RaceConstants.BaseRaces.Animals.Leopard,
                RaceConstants.BaseRaces.Animals.MonitorLizard,
                RaceConstants.BaseRaces.Animals.ConstrictorSnake,
                RaceConstants.BaseRaces.Animals.LargeViperSnake,
                RaceConstants.BaseRaces.Animals.Wolverine,
                RaceConstants.BaseRaces.Animals.BrownBear,
                RaceConstants.BaseRaces.Animals.DireWolverine,
                RaceConstants.BaseRaces.Animals.Deinonychus,
                RaceConstants.BaseRaces.Animals.DireApe,
                RaceConstants.BaseRaces.Animals.DireBoar,
                RaceConstants.BaseRaces.Animals.DireWolf,
                RaceConstants.BaseRaces.Animals.Lion,
                RaceConstants.BaseRaces.Animals.Rhinoceras,
                RaceConstants.BaseRaces.Animals.HugeViperSnake,
                RaceConstants.BaseRaces.Animals.Tiger,
                RaceConstants.BaseRaces.Animals.PolarBear,
                RaceConstants.BaseRaces.Animals.DireLion,
                RaceConstants.BaseRaces.Animals.Megaraptor,
                RaceConstants.BaseRaces.Animals.GiantConstrictorSnake,
                RaceConstants.BaseRaces.Animals.DireBear,
                RaceConstants.BaseRaces.Animals.Elephant,
                RaceConstants.BaseRaces.Animals.DireTiger,
                RaceConstants.BaseRaces.Animals.Triceratops,
                RaceConstants.BaseRaces.Animals.Tyrannosaurus
            };

            DistinctCollection(CharacterClassConstants.Druid, animals);
        }
コード例 #11
0
ファイル: AnimalsTests.cs プロジェクト: DnDGen/CharacterGen
        public override void CollectionNames()
        {
            var names = new[]
            {
                CharacterClassConstants.Barbarian,
                CharacterClassConstants.Bard,
                CharacterClassConstants.Cleric,
                CharacterClassConstants.Druid,
                CharacterClassConstants.Fighter,
                CharacterClassConstants.Monk,
                CharacterClassConstants.Paladin,
                CharacterClassConstants.Ranger,
                CharacterClassConstants.Rogue,
                CharacterClassConstants.Sorcerer,
                CharacterClassConstants.Wizard,
                RaceConstants.Sizes.Large,
                RaceConstants.Sizes.Medium,
                RaceConstants.Sizes.Small,
                FeatConstants.ImprovedFamiliar,
                "Lawful Good",
                "Neutral Good",
                "Chaotic Good",
                "Lawful Neutral",
                "True Neutral",
                "Chaotic Neutral",
                "Lawful Evil",
                "Neutral Evil",
                "Chaotic Evil",
                RaceConstants.Metaraces.Ghost,
                RaceConstants.Metaraces.HalfCelestial,
                RaceConstants.Metaraces.HalfDragon,
                RaceConstants.Metaraces.HalfFiend,
                RaceConstants.Metaraces.Lich,
                RaceConstants.Metaraces.None,
                RaceConstants.Metaraces.Vampire,
                RaceConstants.Metaraces.Werebear,
                RaceConstants.Metaraces.Wereboar,
                RaceConstants.Metaraces.Wererat,
                RaceConstants.Metaraces.Weretiger,
                RaceConstants.Metaraces.Werewolf,
                CharacterClassConstants.Adept,
                CharacterClassConstants.Aristocrat,
                CharacterClassConstants.Commoner,
                CharacterClassConstants.Expert,
                CharacterClassConstants.Warrior
            };

            AssertCollectionNames(names);
        }