コード例 #1
0
        public static void NewRace(Character character)
        {
            switch (character.ChosenRace)
            {
            case "Aasimar(Protector)":
                Aasimar.Protector(character);
                break;

            case "Aasimar(Scourge)":
                Aasimar.Scourge(character);
                break;

            case "Aasimar(Fallen)":
                Aasimar.Fallen(character);
                break;

            case "Cambion":
                Cambion.Base(character);
                break;

            case "Changeling":
                Changeling.Base(character);
                break;

            case "Dhampir":
                Dhampir.Base(character);
                break;

            case "Dragonborn":
                Dragonborn.Base(character);
                break;

            case "Hill Dwarf":
                Dwarf.Hill(character);
                break;

            case "Mountain Dwarf":
                Dwarf.Mountain(character);
                break;

            case "Avariel":
                Elf.Avariel(character);
                break;

            case "Drow":
                Elf.Drow(character);
                break;

            case "Eladrin":
                Elf.Eladrin(character);
                break;

            case "Moon Elf":
                Elf.Moon(character);
                break;

            case "Sea Elf":
                Elf.Sea(character);
                break;

            case "Shadar-Kai":
                Elf.ShadarKai(character);
                break;

            case "High Elf":
                Elf.High(character);
                break;

            case "Wild Elf":
                Elf.Wild(character);
                break;

            case "Wood Elf":
                Elf.Wood(character);
                break;

            case "Forest Gnome":
                Gnome.Forest(character);
                break;

            case "Rock Gnome":
                Gnome.Rock(character);
                break;

            case "Goliath":
                Goliath.Base(character);
                break;

            case "Half-Elf":
                HalfElf.Base(character);
                break;

            case "Half-Orc":
                HalfOrc.Base(character);
                break;

            case "Lightfoot Halfling":
                Halfling.Lightfoot(character);
                break;

            case "Stout Halfling":
                Halfling.Stout(character);
                break;

            case "Human":
                Human.Base(character);
                break;

            case "Variant Human":
                Human.Variant(character);
                break;

            case "Minotaur":
                Minotaur.Base(character);
                break;

            case "Shade":
                Shade.Base(character);
                break;

            case "Tiefling":
                Tiefling.Base(character);
                break;

            case "Feral Tiefling":
                Tiefling.Feral(character);
                break;

            case "Demigod":
                Demigod.Base(character);
                break;
            }
        }