Skip to content

Commit

Permalink
3.2.0.35
Browse files Browse the repository at this point in the history
  • Loading branch information
xhabit committed Oct 17, 2024
1 parent c8b6e40 commit 7fc8202
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 188 deletions.
34 changes: 22 additions & 12 deletions XIVSlothComboX/Combos/PvE/DNC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,23 +191,29 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
return gauge.CompletedSteps < 4 ? gauge.NextStep : 四色技巧舞步结束TechnicalFinish4;


bool devilmentReady = IsEnabled(CustomComboPreset.DNC_DT_Simple_Devilment) && 进攻之探戈Devilment.ActionReady() ;

if (devilmentReady)
// if (CanWeave(actionID,0.6f))
// if (CanSpellWeavePlus(actionID,0.6f))
{
if (WasLastAction(四色技巧舞步结束TechnicalFinish4))
bool devilmentReady = IsEnabled(CustomComboPreset.DNC_DT_Simple_Devilment) && 进攻之探戈Devilment.ActionReady() ;

if (devilmentReady)
{
return 进攻之探戈Devilment;
}
if (WasLastAction(四色技巧舞步结束TechnicalFinish4))
{
return 进攻之探戈Devilment;
}

if (devilmentReady && (techBurst || !LevelChecked(技巧舞步TechnicalStep)))
{
return 进攻之探戈Devilment;
}
if (devilmentReady && (techBurst || !LevelChecked(技巧舞步TechnicalStep)))
{
return 进攻之探戈Devilment;
}
}
}



// Devilment
if (CanWeave(actionID))
if (canWeave)
{
bool flourishReady = InCombat()
&& 百花争艳Flourish.ActionReady()
Expand All @@ -216,7 +222,11 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
&& !HasEffect(Buffs.对称投掷_百花争艳FlourishingSymmetry)
&& !HasEffect(Buffs.非对称投掷_百花争艳FlourishingFlow);

if (IsEnabled(CustomComboPreset.DNC_DT_Simple_Flourish) && flourishReady && GetCooldownRemainingTime(进攻之探戈Devilment) > 0 && 技巧舞步倒计时 > 0 && !WasLastAction(进攻之探戈Devilment))
if (IsEnabled(CustomComboPreset.DNC_DT_Simple_Flourish) && flourishReady && GetCooldownRemainingTime(进攻之探戈Devilment) > 0 && 技巧舞步倒计时 > 0
&& !WasLastAction(进攻之探戈Devilment)
&& !WasLastAction(四色技巧舞步结束TechnicalFinish4_0)
&& !WasLastAction(四色技巧舞步结束TechnicalFinish4)
)
{
return 百花争艳Flourish;
}
Expand Down
Loading

0 comments on commit 7fc8202

Please sign in to comment.