Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #54 from FFXIV-CombatReborn/Ninja-Rewritef-Furreal
Browse files Browse the repository at this point in the history
Doton fix final
  • Loading branch information
Toshi authored Apr 20, 2024
2 parents a659834 + 41c0e05 commit c531ae9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BasicRotations/Melee/NIN_Beta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ private bool ChoiceNinjutsu(out IAction? act)
//Aoe
if (KatonPvE.CanUse(out _))
{
if (!Player.HasStatus(true, StatusID.Doton) && !IsMoving
&& (!TenChiJinPvE.Cooldown.WillHaveOneCharge(6)) || !TenChiJinPvE.Cooldown.IsCoolingDown)
if (!Player.HasStatus(true, StatusID.Doton) && !IsMoving && !IsLastGCD(false, DotonPvE) && (!TenChiJinPvE.Cooldown.WillHaveOneCharge(6)) || !TenChiJinPvE.Cooldown.IsCoolingDown)
SetNinjutsu(DotonPvE);
else SetNinjutsu(KatonPvE);
return false;
Expand Down Expand Up @@ -229,7 +228,7 @@ private bool DoNinjutsu(out IAction? act)
{
if (RaitonPvE_18877.CanUse(out act, skipAoeCheck: true)) return true;
}
else if (chiId == DotonPvE_18880.ID && !IsLastAction(false, DotonPvE_18880))
else if (chiId == DotonPvE_18880.ID && !IsLastAction(false, DotonPvE_18880) && !Player.HasStatus(true, StatusID.Doton))
{
if (DotonPvE_18880.CanUse(out act, skipAoeCheck: true)) return true;
}
Expand Down

0 comments on commit c531ae9

Please sign in to comment.