Esempio n. 1
0
        private async Task <bool> RuinII()
        {
            if (CurrentForm.Equals(SummonerForm.DreadwormTrance) || CurrentForm.Equals(SummonerForm.FirebirdTrance))
            {
                return(false);
            }


            if (MovementManager.IsMoving ||
                //Core.Player.HasAura("Further Ruin") ||
                UseBane ||
                UseFester ||
                UsePainflare ||
                UseTriDisaster ||
                (ResourceArcanist.Aetherflow == 0 && MySpells.EnergyDrain.Cooldown() <= 0) ||
                ActionManager.CanCast(MySpells.EnkindleBahamut.Name, Core.Player) ||
                ActionManager.CanCast(MySpells.EnkindlePhoenix.Name, Core.Player) ||
                ActionManager.CanCast(MySpells.SummonBahamut.Name, Core.Player) ||
                ActionManager.CanCast(MySpells.DreadwyrmTrance.Name, Core.Player) ||
                ActionManager.CanCast(MySpells.FirebirdTrance.Name, Core.Player))
            {
                return(await MySpells.RuinII.Cast());
            }
            return(false);
        }
Esempio n. 2
0
        private void CheckCurrentFormState()
        {
            Helpers.Debug($"Form:  {CurrentForm.ToString()}  PrevTrance: {PreviousTrance.ToString()}");
            if ((int)PetManager.ActivePetType == 10)
            {
                PreviousTrance = SummonerForm.DreadwormTrance;
                CurrentForm    = SummonerForm.Bahamut;
            }
            if ((int)PetManager.ActivePetType == 14)
            {
                if (CurrentForm.Equals(SummonerForm.DreadwormTrance))
                {
                    CurrentFormExpireTime += TimeSpan.FromSeconds(5);
                }
                CurrentForm = SummonerForm.FirebirdTrance;
            }
            if ((int)PetManager.ActivePetType != 14 && CurrentForm.Equals(SummonerForm.FirebirdTrance) && Resource.DreadwyrmTrance)
            {
                PreviousTrance         = SummonerForm.DreadwormTrance;
                CurrentForm            = SummonerForm.DreadwormTrance;
                CurrentFormExpireTime -= TimeSpan.FromSeconds(5);
            }


            if (!CurrentForm.Equals(SummonerForm.Normal) && IsCurrentFormExpired() && (!ShinraEx.Settings.SummonerOpener || Helpers.OpenerFinished))
            {
                Helpers.Debug("Set form to Normal");
                CurrentForm = SummonerForm.Normal;
            }
        }
Esempio n. 3
0
 private async Task <bool> BrandOfPurgatory()
 {
     if (Core.Player.HasAura("Hellish Conduit") && CurrentForm.Equals(SummonerForm.FirebirdTrance))
     {
         return(await MySpells.BrandOfPurgatory.Cast());
     }
     return(false);
 }
Esempio n. 4
0
 private async Task <bool> FountainOfFire()
 {
     if (CurrentForm.Equals(SummonerForm.FirebirdTrance))
     {
         return(await MySpells.BrandOfPurgatory.Cast());
     }
     return(false);
 }
Esempio n. 5
0
 private async Task <bool> EgiAssaultII()
 {
     if (PetExists &&
         (!CurrentForm.Equals(SummonerForm.Bahamut) || !CurrentForm.Equals(SummonerForm.FirebirdTrance)) &&
         ActionManager.CanCast(MySpells.EgiAssaultII.Name, Core.Player) && Core.Me.InCombat)
     {
         return(await MySpells.EgiAssaultII.Cast());
     }
     return(false);
 }
Esempio n. 6
0
 private async Task <bool> EgiAssault()
 {
     if (PetExists &&
         (!CurrentForm.Equals(SummonerForm.Bahamut) || !CurrentForm.Equals(SummonerForm.FirebirdTrance)) &&
         ActionManager.CanCast(MySpells.EgiAssault.Name, Core.Player) &&
         (ActionManager.LastSpell.Name == "Ruin II" || ActionManager.LastSpell.Name == "Ruin IV"))
     {
         return(await MySpells.EgiAssault.Cast());
     }
     return(false);
 }
Esempio n. 7
0
        private void CheckCurrentFormState()
        {
            Helpers.Debug("Form:  " + CurrentForm.ToString());
            if (!PreviousTrance.Equals(SummonerForm.FirebirdTrance) && Core.Player.HasAura("Everlasting Flight"))
            {
                PreviousTrance = SummonerForm.FirebirdTrance;
            }

            if (!CurrentForm.Equals(SummonerForm.Normal) && IsCurrentFormExpired())
            {
                Helpers.Debug("Set form to Normal");
                CurrentForm = SummonerForm.Normal;
            }
        }