Example #1
0
        internal static void DoRotation()
        {
            if (DetectKeyPress.GetKeyState(DetectKeyPress.Shift) < 0)
            {
                return;
            }
            if (DetectKeyPress.GetKeyState(DetectKeyPress.Z) < 0)
            {
                Rotation.ChangeRotation();
            }
            if (ObjectManager.LocalPlayer.IsMounted)
            {
                return;
            }



            switch (ObjectManager.LocalPlayer.Class)
            {
            case WowUnit.WowUnitClass.Paladin:
                //Paladin.DoPaladin();
                break;

            case WowUnit.WowUnitClass.Warrior:
                Warrior.DoWarrior();
                break;

            case WowUnit.WowUnitClass.Hunter:
                Hunter.DoHunter();
                break;

            case WowUnit.WowUnitClass.Druid:
                Druid.DoDruid();
                break;

            case WowUnit.WowUnitClass.Shaman:
                Shaman.DoShaman();
                break;

            case WowUnit.WowUnitClass.Rogue:
                Rogue.DoRogue();
                break;

            case WowUnit.WowUnitClass.Priest:
                Priest.DoPriest();
                break;

            case WowUnit.WowUnitClass.DeathKnight:
                DeathKnight.DoDeathKnight();
                break;

            case WowUnit.WowUnitClass.Mage:
                Mage.DoMage();
                break;

            case WowUnit.WowUnitClass.Warlock:
                Warlock.DoWarlock();
                break;

            case WowUnit.WowUnitClass.Monk:
                Monk.DoMonk();
                break;
            }
        }