fBaseXtensions.Game.Hero.Class.WitchDoctor.CreateAbility C# (CSharp) Method

CreateAbility() private method

private CreateAbility ( SNOPower Power ) : Skill
Power SNOPower
return fBaseXtensions.Game.Hero.Skills.Skill
        internal override Skill CreateAbility(SNOPower Power)
        {
            WitchDoctorActiveSkills power = (WitchDoctorActiveSkills)Enum.ToObject(typeof(WitchDoctorActiveSkills), (int)Power);

            switch (power)
            {
                case WitchDoctorActiveSkills.Witchdoctor_Gargantuan:
                    return new Gargantuan();
                case WitchDoctorActiveSkills.Witchdoctor_Hex:
                    return new Hex();
                case WitchDoctorActiveSkills.Witchdoctor_Firebomb:
                    return new Firebomb();
                case WitchDoctorActiveSkills.Witchdoctor_MassConfusion:
                    return new MassConfusion();
                case WitchDoctorActiveSkills.Witchdoctor_SoulHarvest:
                    return new SoulHarvest();
                case WitchDoctorActiveSkills.Witchdoctor_Horrify:
                    return new Horrify();
                case WitchDoctorActiveSkills.Witchdoctor_GraspOfTheDead:
                    return new GraspOfTheDead();
                case WitchDoctorActiveSkills.Witchdoctor_CorpseSpider:
                    return new CorpseSpider();
                case WitchDoctorActiveSkills.Witchdoctor_Locust_Swarm:
                    return new LocustSwarm();
                case WitchDoctorActiveSkills.Witchdoctor_AcidCloud:
                    return new AcidCloud();
                case WitchDoctorActiveSkills.Witchdoctor_FetishArmy:
                    return new FetishArmy();
                case WitchDoctorActiveSkills.Witchdoctor_ZombieCharger:
                    return new ZombieCharger();
                case WitchDoctorActiveSkills.Witchdoctor_Haunt:
                    return new Haunt();
                case WitchDoctorActiveSkills.Witchdoctor_Sacrifice:
                    return new Sacrifice();
                case WitchDoctorActiveSkills.Witchdoctor_SummonZombieDog:
                    return new SummonZombieDogs();
                case WitchDoctorActiveSkills.Witchdoctor_Firebats:
                    return new Firebats();
                case WitchDoctorActiveSkills.Witchdoctor_SpiritWalk:
                    return new SpiritWalk();
                case WitchDoctorActiveSkills.Witchdoctor_PlagueOfToads:
                    return new PlagueOfToads();
                case WitchDoctorActiveSkills.Witchdoctor_SpiritBarrage:
                    return new SpiritBarrage();
                case WitchDoctorActiveSkills.Witchdoctor_BigBadVoodoo:
                    return new BigBadVoodoo();
                case WitchDoctorActiveSkills.Witchdoctor_WallOfZombies:
                    return new WallOfZombies();
                case WitchDoctorActiveSkills.Witchdoctor_PoisonDart:
                    return new PoisonDart();
                case WitchDoctorActiveSkills.Witchdcotor_Piranhas:
                    return new Piranhas();
                default:
                    return DefaultAttack;
            }
        }