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

Commit

Permalink
fix: add luciddreaming to blm.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Feb 6, 2023
1 parent 105759c commit 7ce852f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions RotationSolver/Rotations/RangedMagicial/BLM/BLM_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ private protected override IRotationConfigSet CreateConfiguration()
=> base.CreateConfiguration()
.SetFloat("CountDownTime", 4, "What Time to Leylines when Counting down.", 3, 5)
.SetBool("UseTransposeForParadox", true, "Use Transpose to Fire for Paradox")
.SetBool("ExtendTimeSafely", false, "Extend Fire Element Time Safely");
.SetBool("ExtendTimeSafely", false, "Extend Fire Element Time Safely")
.SetBool("UseN15", false, "Use N15");

private protected override IAction CountDownAction(float remainTime)
{
Expand All @@ -63,19 +64,18 @@ private protected override IAction CountDownAction(float remainTime)

private protected override bool AttackAbility(byte abilitiesRemaining, out IAction act)
{
act = null;

if (InBurst && UseTincture(out act)) return true;
if (InUmbralIce)
{
if(UmbralIceStacks == 2
&& !HasFire
if (UmbralIceStacks == 2 && !HasFire
&& !IsLastGCD(ActionID.Paradox))
{
if (Swiftcast.CanUse(out act)) return true;
if (Triplecast.CanUse(out act, emptyOrSkipCombo: true)) return true;
}
if(Sharpcast.CanUse(out act, emptyOrSkipCombo: true)) return true;

if (UmbralIceStacks < 3 && LucidDreaming.CanUse(out act)) return true;
if (Sharpcast.CanUse(out act, emptyOrSkipCombo: true)) return true;
}
if (InAstralFire)
{
Expand Down Expand Up @@ -235,7 +235,11 @@ private bool MaintainceFire(out IAction act)
{
case 1:
if (Fire2.CanUse(out act)) return true;
//if (IsParadoxActive && Fire.CanUse(out act)) return true;
if (Configs.GetBool("UseN15"))
{
if (HasFire && Fire3.CanUse(out act)) return true;
if (IsParadoxActive && Fire.CanUse(out act)) return true;
}
if (Fire3.CanUse(out act)) return true;
break;
case 2:
Expand Down

0 comments on commit 7ce852f

Please sign in to comment.