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

Commit

Permalink
attempted rampart fix on warrior and paladin
Browse files Browse the repository at this point in the history
  • Loading branch information
LTS-FFXIV committed Apr 8, 2024
1 parent 0231580 commit 69b5748
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions BasicRotations/Tank/PLD_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,17 @@ protected override bool GeneralGCD(out IAction? act)
[RotationDesc(ActionID.ReprisalPvE, ActionID.DivineVeilPvE)]
protected override bool DefenseAreaAbility(out IAction? act)
{

if (ReprisalPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (DivineVeilPvE.CanUse(out act)) return true;
if (PassageOfArmsPvE.CanUse(out act)) return true;
return base.DefenseAreaAbility(out act);
}

[RotationDesc(ActionID.PassageOfArmsPvE)]
protected override bool HealAreaAbility(out IAction? act)
{
if (PassageOfArmsPvE.CanUse(out act)) return true;
//if (PassageOfArmsPvE.CanUse(out act)) return true;
return base.HealAreaAbility(out act);
}

Expand All @@ -118,9 +120,7 @@ protected override bool DefenseSingleAbility(out IAction? act)
if ((!RampartPvE.Cooldown.IsCoolingDown || RampartPvE.Cooldown.ElapsedAfter(60)) && SentinelPvE.CanUse(out act)) return true;

//20
if (SentinelPvE.Cooldown.IsCoolingDown && SentinelPvE.Cooldown.ElapsedAfter(60) && RampartPvE.CanUse(out act)) return true;

if (ReprisalPvE.CanUse(out act)) return true;
if ((SentinelPvE.EnoughLevel && SentinelPvE.Cooldown.IsCoolingDown && SentinelPvE.Cooldown.ElapsedAfter(60) || !SentinelPvE.EnoughLevel) && RampartPvE.CanUse(out act)) return true;

return base.DefenseSingleAbility(out act);
}
Expand Down
6 changes: 3 additions & 3 deletions BasicRotations/Tank/WAR_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ protected override bool DefenseSingleAbility(out IAction? act)

private bool HighDefense(out IAction? act)
{
//30
//Vengence use
if ((!RampartPvE.Cooldown.IsCoolingDown || RampartPvE.Cooldown.ElapsedAfter(60)) && VengeancePvE.CanUse(out act)) return true;

//20
if (VengeancePvE.Cooldown.IsCoolingDown && VengeancePvE.Cooldown.ElapsedAfter(60) && RampartPvE.CanUse(out act)) return true;
//Rampart use
if ((VengeancePvE.EnoughLevel && VengeancePvE.Cooldown.IsCoolingDown && VengeancePvE.Cooldown.ElapsedAfter(60) || !VengeancePvE.EnoughLevel) && RampartPvE.CanUse(out act)) return true;

act = null;
return false;
Expand Down

0 comments on commit 69b5748

Please sign in to comment.