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); }
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); }
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; } }