Пример #1
0
 private async Task <bool> FirebirdTrance()
 {
     if (ShinraEx.Settings.SummonerDreadwyrmTrance && !PreviousTrance.Equals(SummonerForm.FirebirdTrance))
     {
         if (await MySpells.FirebirdTrance.Cast())
         {
             CurrentForm = PreviousTrance = SummonerForm.FirebirdTrance;
             SetCurrentFormTimer(TimeSpan.FromSeconds(20));
             return(true);
         }
     }
     return(false);
 }
Пример #2
0
 private async Task <bool> FirebirdTrance()
 {
     if (ShinraEx.Settings.SummonerDreadwyrmTrance && !PreviousTrance.Equals(SummonerForm.FirebirdTrance) && !ActionManager.CanCast(MySpells.Aetherpact.Name, Core.Player))
     {
         if (await MySpells.FirebirdTrance.Cast())
         {
             CurrentForm = PreviousTrance = SummonerForm.FirebirdTrance;
             SetCurrentFormTimer(TimeSpan.FromSeconds(20));
             return(true);
         }
     }
     return(false);
 }
Пример #3
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;
            }
        }