Skip to content

Commit c2194bf

Browse files
authored
Merge pull request #843 from FFXIV-CombatReborn/FFhotfixUpdate
MNK and VPR update, update for FFXIV hotfix
2 parents 8d1f6f0 + 95218f8 commit c2194bf

File tree

4 files changed

+261
-227
lines changed

4 files changed

+261
-227
lines changed

BasicRotations/Melee/MNK_Default.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ protected override bool GeneralGCD(out IAction? act)
525525
//if (Player.StatusStack(true, StatusID.PerfectBalance) == 3 && OpoOpoForm(out act)) return true;
526526

527527
// Gain Solar Nadi through 3 different forms
528-
if (HasPerfectBalance && !HasSolar)
528+
if (HasPerfectBalance && !HasSolar && EnhancedPerfectBalanceTrait.EnoughLevel)
529529
{
530530
if (!BeastChakras.Contains(BeastChakra.Raptor) && RaptorForm(out act))
531531
{
@@ -544,7 +544,7 @@ protected override bool GeneralGCD(out IAction? act)
544544
}
545545

546546
// Gain Lunar Nadi through 3 opopo form actions
547-
if (HasPerfectBalance && HasSolar)
547+
if (HasPerfectBalance && HasSolar && EnhancedPerfectBalanceTrait.EnoughLevel)
548548
{
549549
if (OpoOpoForm(out act))
550550
{
@@ -553,7 +553,7 @@ protected override bool GeneralGCD(out IAction? act)
553553
}
554554

555555
// only allow free usage of forms if you dont have perfect balance/it was not the last ability used
556-
if (!HasPerfectBalance && !IsLastAbility(true, PerfectBalancePvE))
556+
if ((!HasPerfectBalance && !IsLastAbility(true, PerfectBalancePvE)) || !EnhancedPerfectBalanceTrait.EnoughLevel)
557557
{
558558
// whatever you have, press it from left to right
559559
if (CoerlForm(out act))

BasicRotations/Melee/VPR_Default.cs

Lines changed: 91 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,97 @@ protected override bool GeneralGCD(out IAction? act)
391391
}
392392
}
393393

394+
//AOE Serpent Combo
395+
// aoe 3
396+
switch ((HasGrimHunter, HasGrimSkin))
397+
{
398+
case (true, _):
399+
if (JaggedMawPvE.CanUse(out act, skipAoeCheck: true, skipStatusProvideCheck: true, skipComboCheck: true))
400+
return true;
401+
break;
402+
case (_, true):
403+
if (BloodiedMawPvE.CanUse(out act, skipAoeCheck: true, skipStatusProvideCheck: true, skipComboCheck: true))
404+
return true;
405+
break;
406+
case (false, false):
407+
if (JaggedMawPvE.CanUse(out act, skipAoeCheck: true, skipStatusProvideCheck: true, skipComboCheck: true))
408+
return true;
409+
if (BloodiedMawPvE.CanUse(out act, skipAoeCheck: true, skipStatusProvideCheck: true, skipComboCheck: true))
410+
return true;
411+
break;
412+
}
413+
414+
// aoe 2
415+
if (SwiftskinsBitePvE.EnoughLevel)
416+
{
417+
if (HasHunterAndSwift)
418+
{
419+
switch (HunterOrSwiftEndsFirst)
420+
{
421+
case "Hunter":
422+
if (HuntersBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
423+
return true;
424+
break;
425+
case "Swift":
426+
if (SwiftskinsBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
427+
return true;
428+
break;
429+
case "Equal":
430+
if (SwiftskinsBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
431+
return true;
432+
break;
433+
}
434+
}
435+
436+
if (!HasHunterAndSwift)
437+
{
438+
if (!IsHunter && !IsSwift)
439+
{
440+
if (SwiftskinsBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
441+
{
442+
return true;
443+
}
444+
}
445+
446+
if (!IsSwift)
447+
{
448+
if (SwiftskinsBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
449+
{
450+
return true;
451+
}
452+
}
453+
454+
if (!IsHunter)
455+
{
456+
if (HuntersBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
457+
return true;
458+
}
459+
}
460+
}
461+
if (!SwiftskinsBitePvE.EnoughLevel)
462+
{
463+
if (HuntersBitePvE.CanUse(out act, skipStatusProvideCheck: true, skipComboCheck: true))
464+
return true;
465+
}
466+
// aoe 1
467+
switch ((HasSteel, HasReavers))
468+
{
469+
case (true, _):
470+
if (SteelMawPvE.CanUse(out act))
471+
return true;
472+
break;
473+
case (_, true):
474+
if (ReavingMawPvE.CanUse(out act))
475+
return true;
476+
break;
477+
case (false, false):
478+
if (ReavingMawPvE.CanUse(out act))
479+
return true;
480+
if (SteelMawPvE.CanUse(out act))
481+
return true;
482+
break;
483+
}
484+
394485
////Single Target Dread Combo
395486
// Try using Coil thats buff provided will end soon
396487
// then try using Coil that you can hit positional on
@@ -501,63 +592,6 @@ protected override bool GeneralGCD(out IAction? act)
501592
}
502593
}
503594

504-
//AOE Serpent Combo
505-
// aoe 3
506-
switch ((HasGrimHunter, HasGrimSkin))
507-
{
508-
case (true, _):
509-
if (JaggedMawPvE.CanUse(out act, skipAoeCheck: true))
510-
return true;
511-
break;
512-
case (_, true):
513-
if (BloodiedMawPvE.CanUse(out act, skipAoeCheck: true))
514-
return true;
515-
break;
516-
case (false, false):
517-
if (JaggedMawPvE.CanUse(out act, skipAoeCheck: true))
518-
return true;
519-
if (BloodiedMawPvE.CanUse(out act, skipAoeCheck: true))
520-
return true;
521-
break;
522-
}
523-
// aoe 2
524-
switch (HunterOrSwiftEndsFirst)
525-
{
526-
case "Hunter":
527-
if (HuntersBitePvE.CanUse(out act, skipStatusProvideCheck: true))
528-
return true;
529-
break;
530-
case "Swift":
531-
if (SwiftskinsBitePvE.CanUse(out act, skipStatusProvideCheck: true))
532-
return true;
533-
break;
534-
case "Equal":
535-
case null:
536-
if (HuntersBitePvE.CanUse(out act, skipStatusProvideCheck: true))
537-
return true;
538-
if (SwiftskinsBitePvE.CanUse(out act, skipStatusProvideCheck: true))
539-
return true;
540-
break;
541-
}
542-
// aoe 1
543-
switch ((HasSteel, HasReavers))
544-
{
545-
case (true, _):
546-
if (SteelMawPvE.CanUse(out act))
547-
return true;
548-
break;
549-
case (_, true):
550-
if (ReavingMawPvE.CanUse(out act))
551-
return true;
552-
break;
553-
case (false, false):
554-
if (ReavingMawPvE.CanUse(out act))
555-
return true;
556-
if (SteelMawPvE.CanUse(out act))
557-
return true;
558-
break;
559-
}
560-
561595
//Single Target Serpent Combo
562596
// st 3
563597
switch ((HasHindstung, HasHindsbane, HasFlankstung, HasFlanksbane))

0 commit comments

Comments
 (0)