Esempio n. 1
0
        private static async Task <bool> RunTrust()
        {
            var mapId = WorldManager.ZoneId;

            switch (mapId)
            {
            case 837:     //71本 水滩村
                return(await HolminsterSwitch.Run());

                break;

            case 821:     //73本 多恩美格禁园
                return(await DohnMheg.Run());

                break;

            case 823:     //75本 奇坦那神影洞
                return(await TheQitanaRavel.Run());

                break;

            case 836:     //77本 马利卡大井
                return(await MalikahWell.Run());

                break;

            case 822:     //79本 格鲁格火山
                return(await MtGulg.Run());

                break;

            case 838:     //80本 亚马乌罗提
                return(await Amaurot.Run());

                break;

            case 884:     //80本 国际服 5.1
                return(await TheGrandCosmos.Run());

                break;

            default:
                return(false);
            }
        }
Esempio n. 2
0
        private static async Task <bool> RunTrust()
        {
            var mapId = WorldManager.ZoneId;

            switch (mapId)
            {
            case 837:     //71本
                return(await HolminsterSwitch.Run());

                break;

            case 821:     //73本
                return(await DohnMheg.Run());

                break;

            default:
                return(false);
            }
        }
Esempio n. 3
0
        private static async Task <bool> RunTrust()
        {
            //吃食物
            if (!Core.Player.HasAura(_buff))
            {
                await EatFood();
            }

            var mapId = WorldManager.ZoneId;

            switch (mapId)
            {
            case 837:     //71本 水滩村
                return(await HolminsterSwitch.Run());

                break;

            case 821:     //73本 多恩美格禁园
                if (Core.Me.CurrentHealthPercent <= 0)
                {
                    Logging.Write(Colors.Aquamarine, $"检测到死亡");
                    await Coroutine.Sleep(10000);

                    NeoProfileManager.Load(NeoProfileManager.CurrentProfile.Path, true);
                    NeoProfileManager.UpdateCurrentProfileBehavior();
                    await Coroutine.Sleep(5000);

                    return(true);
                }
                return(await DohnMheg.Run());

                break;

            case 823:     //75本 奇坦那神影洞
                if (Core.Me.CurrentHealthPercent <= 0)
                {
                    Logging.Write(Colors.Aquamarine, $"检测到死亡");
                    await Coroutine.Sleep(10000);

                    NeoProfileManager.Load(NeoProfileManager.CurrentProfile.Path, true);
                    NeoProfileManager.UpdateCurrentProfileBehavior();
                    await Coroutine.Sleep(5000);

                    return(true);
                }
                return(await TheQitanaRavel.Run());

                break;

            case 836:     //77本 马利卡大井
                if (Core.Me.CurrentHealthPercent <= 0)
                {
                    Logging.Write(Colors.Aquamarine, $"检测到死亡");
                    await Coroutine.Sleep(10000);

                    NeoProfileManager.Load(NeoProfileManager.CurrentProfile.Path, true);
                    NeoProfileManager.UpdateCurrentProfileBehavior();
                    await Coroutine.Sleep(5000);

                    return(true);
                }
                return(await MalikahWell.Run());

                break;

            case 822:     //79本 格鲁格火山
                if (Core.Me.CurrentHealthPercent <= 0)
                {
                    Logging.Write(Colors.Aquamarine, $"检测到死亡");
                    await Coroutine.Sleep(10000);

                    NeoProfileManager.Load(NeoProfileManager.CurrentProfile.Path, true);
                    NeoProfileManager.UpdateCurrentProfileBehavior();
                    await Coroutine.Sleep(5000);

                    return(true);
                }
                return(await MtGulg.Run());

                break;

            case 838:     //80本 亚马乌罗提
                if (Core.Me.CurrentHealthPercent <= 0)
                {
                    Logging.Write(Colors.Aquamarine, $"检测到死亡");
                    await Coroutine.Sleep(10000);

                    NeoProfileManager.Load(NeoProfileManager.CurrentProfile.Path, true);
                    NeoProfileManager.UpdateCurrentProfileBehavior();
                    await Coroutine.Sleep(5000);

                    return(true);
                }
                return(await Amaurot.Run());

                break;

            case 884:     //80本 国际服 5.1
                if (Core.Me.CurrentHealthPercent <= 0)
                {
                    Logging.Write(Colors.Aquamarine, $"检测到死亡");
                    await Coroutine.Sleep(10000);

                    NeoProfileManager.Load(NeoProfileManager.CurrentProfile.Path, true);
                    NeoProfileManager.UpdateCurrentProfileBehavior();
                    await Coroutine.Sleep(5000);

                    return(true);
                }
                return(await TheGrandCosmos.Run());

                break;

            default:
                return(false);
            }
        }
Esempio n. 4
0
        private async Task <bool> RunTrust()
        {
            if (!Core.Me.InCombat && ActionManager.IsSprintReady && MovementManager.IsMoving)
            {
                ActionManager.Sprint();
                await Coroutine.Wait(1000, () => !ActionManager.IsSprintReady);
            }

            if (!Core.Player.HasAura(_buff))
            {
                await EatFood();
            }

            switch (WorldManager.ZoneId)
            {
            case 837:     //71本 水滩村
                return(await HolminsterSwitch.Run());

            case 821:     //73本 多恩美格禁园
                if (await PlayerCheck())
                {
                    return(true);
                }
                return(await DohnMheg.Run());

            case 823:     //75本 奇坦那神影洞
                if (await PlayerCheck())
                {
                    return(true);
                }
                return(await TheQitanaRavel.Run());

            case 836:     //77本 马利卡大井
                if (await PlayerCheck())
                {
                    return(true);
                }
                return(await MalikahWell.Run());

            case 822:     //79本 格鲁格火山
                if (await PlayerCheck())
                {
                    return(true);
                }
                return(await MtGulg.Run());

            case 838:     //80本 亚马乌罗提
                if (await PlayerCheck())
                {
                    return(true);
                }
                return(await Amaurot.Run());

            case 884:     //80本 国际服 5.1
                if (await PlayerCheck())
                {
                    return(true);
                }
                return(await TheGrandCosmos.Run());

            default:
                return(false);
            }
        }