Esempio n. 1
0
        public static async Task <bool> PreCombatBuff()
        {
            if (Core.Me.IsCasting)
            {
                return(true);
            }

            if (await Casting.TrackSpellCast())
            {
                return(true);
            }

            await Casting.CheckForSuccessfulCast();


            //Openers.OpenerCheck();

            if (Core.Me.HasTarget && Core.Me.CurrentTarget.CanAttack)
            {
                return(false);
            }

            if (Globals.OnPvpMap)
            {
                return(false);
            }

            if (await Buff.DancePartner())
            {
                return(true);
            }

            return(await PhysicalDps.Peloton(DancerSettings.Instance));
        }
Esempio n. 2
0
        public static async Task <bool> PreCombatBuff()
        {
            if (await Casting.TrackSpellCast())
            {
                return(true);
            }

            await Casting.CheckForSuccessfulCast();


            return(await PhysicalDps.Peloton(MachinistSettings.Instance));
        }
Esempio n. 3
0
        public static async Task <bool> Execute()
        {
            if (await Chocobo.HandleChocobo())
            {
                return(true);
            }

            Group.UpdateAllies();

            if (Core.Me.IsCasting)
            {
                return(true);
            }

            if (await Casting.TrackSpellCast())
            {
                return(true);
            }

            await Casting.CheckForSuccessfulCast();

            Globals.InParty       = PartyManager.IsInParty;
            Globals.PartyInCombat = Globals.InParty && Utilities.Combat.Enemies.Any(r => r.TaggerType == 2);

            //Openers.OpenerCheck();

            if (Core.Me.HasTarget && Core.Me.CurrentTarget.CanAttack)
            {
                return(false);
            }

            if (Core.Me.OnPvpMap())
            {
                return(false);
            }

            if (await Buff.DancePartner())
            {
                return(true);
            }

            return(await PhysicalDps.Peloton(DancerSettings.Instance));


            return(false);
        }
Esempio n. 4
0
        public static async Task <bool> Execute()
        {
            if (await Chocobo.HandleChocobo())
            {
                return(true);
            }

            Group.UpdateAllies();

            if (await Casting.TrackSpellCast())
            {
                return(true);
            }

            await Casting.CheckForSuccessfulCast();

            Globals.InParty       = PartyManager.IsInParty;
            Globals.PartyInCombat = Globals.InParty && Utilities.Combat.Enemies.Any(r => r.TaggerType == 2);

            return(await PhysicalDps.Peloton(MachinistSettings.Instance));
        }