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

Commit

Permalink
AST & SCH tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Taurenkey committed Jul 22, 2024
1 parent 9d6f1a6 commit a574a25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion XIVSlothCombo/Combos/PvE/AST.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,12 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
if (IsEnabled(CustomComboPreset.AST_DPS_LightSpeed) &&
ActionReady(Lightspeed) &&
GetTargetHPPercent() > Config.AST_DPS_LightSpeedOption &&
CanSpellWeave(actionID))
IsMoving &&
!HasEffect(Buffs.Lightspeed))
return Lightspeed;



if (IsEnabled(CustomComboPreset.AST_DPS_Lucid) &&
ActionReady(All.LucidDreaming) &&
LocalPlayer.CurrentMp <= Config.AST_LucidDreaming &&
Expand Down
3 changes: 2 additions & 1 deletion XIVSlothCombo/Combos/PvE/SCH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using XIVSlothCombo.Combos.PvE.Content;
using XIVSlothCombo.CustomComboNS;
using XIVSlothCombo.CustomComboNS.Functions;
using XIVSlothCombo.Extensions;

namespace XIVSlothCombo.Combos.PvE
{
Expand Down Expand Up @@ -377,7 +378,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
if (LevelChecked(EnergyDrain) && InCombat() &&
Gauge.HasAetherflow() &&
GetCooldownRemainingTime(Aetherflow) <= edTime &&
(!IsEnabled(CustomComboPreset.SCH_DPS_EnergyDrain_BurstSaver) || (LevelChecked(ChainStratagem) && GetCooldownRemainingTime(ChainStratagem) > 10)) &&
(!IsEnabled(CustomComboPreset.SCH_DPS_EnergyDrain_BurstSaver) || (LevelChecked(ChainStratagem) && GetCooldownRemainingTime(ChainStratagem) > 10) || (!ChainStratagem.LevelChecked())) &&
CanSpellWeave(actionID))
return EnergyDrain;
}
Expand Down

0 comments on commit a574a25

Please sign in to comment.