internal int IsQuesting()
        {
            if (!Settings.AutoQuest)
            {
                return(-1);
            }

            if (!_character.beastQuest.inQuest)
            {
                return(-1);
            }

            var questZone = _character.beastQuestController.curQuestZone();

            if (!CombatManager.IsZoneUnlocked(questZone))
            {
                return(-1);
            }

            if (_character.beastQuest.reducedRewards)
            {
                if (Settings.ManualMinors)
                {
                    return(questZone);
                }

                return(-1);
            }

            return(_character.beastQuestController.curQuestZone());
        }
Exemple #2
0
        internal int IsQuesting()
        {
            if (!Settings.AutoQuest)
            {
                return(-1);
            }

            if (!_character.beastQuest.inQuest)
            {
                return(-1);
            }

            var questZone = _character.beastQuestController.curQuestZone();

            if (!CombatManager.IsZoneUnlocked(questZone))
            {
                return(-1);
            }

            if (_character.beastQuest.reducedRewards)
            {
                if (Settings.ManualMinors)
                {
                    EquipQuestingLoadout();
                    return(questZone);
                }
                else if (LoadoutManager.HasQuestLock())
                {
                    LoadoutManager.RestoreOriginalQuestGear();
                    LoadoutManager.ReleaseLock();
                }

                return(-1);
            }
            EquipQuestingLoadout();
            return(_character.beastQuestController.curQuestZone());
        }