|
1 | 1 | namespace RebornRotations.Melee;
|
2 | 2 |
|
3 |
| -[Rotation("Default", CombatType.PvE, GameVersion = "7.21")] |
| 3 | +[Rotation("Default", CombatType.PvE, GameVersion = "7.25")] |
4 | 4 | [SourceCode(Path = "main/BasicRotations/Melee/DRG_Default.cs")]
|
5 | 5 | [Api(4)]
|
6 | 6 |
|
@@ -54,42 +54,55 @@ protected override bool EmergencyAbility(IAction nextGCD, out IAction? act)
|
54 | 54 | {
|
55 | 55 | if (IsBurst && InCombat)
|
56 | 56 | {
|
57 |
| - bool lifeSurgeReady = ((Player.HasStatus(true, StatusID.BattleLitany) || Player.HasStatus(true, StatusID.LanceCharge) |
58 |
| - || LOTDEndAfter(1000)) && nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE)) |
59 |
| - || (Player.HasStatus(true, StatusID.BattleLitany) && Player.HasStatus(true, StatusID.LanceCharge) && LOTDEndAfter(1000) && nextGCD.IsTheSameTo(true, ChaoticSpringPvE, LanceBarragePvE, WheelingThrustPvE, FangAndClawPvE)) |
60 |
| - || (nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE) && (LanceChargePvE.IsInCooldown || BattleLitanyPvE.IsInCooldown)); |
61 |
| - |
62 |
| - if ((!BattleLitanyPvE.Cooldown.ElapsedAfter(60) || !BattleLitanyPvE.EnoughLevel) && LanceChargePvE.CanUse(out act)) |
63 |
| - { |
64 |
| - return true; |
65 |
| - } |
| 57 | + bool lifeSurgeReady = |
| 58 | + ((Player.HasStatus(true, StatusID.BattleLitany) || Player.HasStatus(true, StatusID.LanceCharge) || LOTDEndAfter(1000)) |
| 59 | + && nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE)) |
| 60 | + || (Player.HasStatus(true, StatusID.BattleLitany) |
| 61 | + && Player.HasStatus(true, StatusID.LanceCharge) |
| 62 | + && LOTDEndAfter(1000) |
| 63 | + && nextGCD.IsTheSameTo(true, ChaoticSpringPvE, LanceBarragePvE, WheelingThrustPvE, FangAndClawPvE)) |
| 64 | + || (nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE) |
| 65 | + && (LanceChargePvE.IsInCooldown || BattleLitanyPvE.IsInCooldown)); |
| 66 | + |
| 67 | + if ((!BattleLitanyPvE.Cooldown.ElapsedAfter(60) || !BattleLitanyPvE.EnoughLevel) |
| 68 | + && LanceChargePvE.CanUse(out act)) |
| 69 | + { |
| 70 | + return true; |
| 71 | + } |
66 | 72 |
|
67 | 73 | if (Player.HasStatus(true, StatusID.LanceCharge) && BattleLitanyPvE.CanUse(out act))
|
68 |
| - { |
69 |
| - return true; |
70 |
| - } |
71 |
| - |
72 |
| - if (((Player.HasStatus(true, StatusID.BattleLitany) || Player.HasStatus(true, StatusID.LanceCharge) || LOTDEndAfter(1000)) && nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE)) |
73 |
| - || (Player.HasStatus(true, StatusID.BattleLitany) && Player.HasStatus(true, StatusID.LanceCharge) && LOTDEndAfter(1000) && !HeavensThrustPvE.EnoughLevel && !DrakesbanePvE.EnoughLevel && nextGCD.IsTheSameTo(true, ChaoticSpringPvE, LanceBarragePvE, WheelingThrustPvE, FangAndClawPvE)) |
74 |
| - || (nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE) && (LanceChargePvE.IsInCooldown || BattleLitanyPvE.IsInCooldown))) |
75 |
| - { |
76 |
| - if (LifeSurgePvE.CanUse(out act, usedUp: true)) |
77 | 74 | {
|
78 | 75 | return true;
|
79 | 76 | }
|
80 |
| - } |
| 77 | + |
| 78 | + if (((Player.HasStatus(true, StatusID.BattleLitany) || Player.HasStatus(true, StatusID.LanceCharge) || LOTDEndAfter(1000)) |
| 79 | + && nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE)) |
| 80 | + || (Player.HasStatus(true, StatusID.BattleLitany) |
| 81 | + && Player.HasStatus(true, StatusID.LanceCharge) |
| 82 | + && LOTDEndAfter(1000) |
| 83 | + && !HeavensThrustPvE.EnoughLevel |
| 84 | + && !DrakesbanePvE.EnoughLevel |
| 85 | + && nextGCD.IsTheSameTo(true, ChaoticSpringPvE, LanceBarragePvE, WheelingThrustPvE, FangAndClawPvE)) |
| 86 | + || (nextGCD.IsTheSameTo(true, HeavensThrustPvE, DrakesbanePvE) |
| 87 | + && (LanceChargePvE.IsInCooldown || BattleLitanyPvE.IsInCooldown))) |
| 88 | + { |
| 89 | + if (LifeSurgePvE.CanUse(out act, usedUp: true)) |
| 90 | + { |
| 91 | + return true; |
| 92 | + } |
| 93 | + } |
81 | 94 |
|
82 | 95 | if (lifeSurgeReady
|
83 | 96 | || (!DisembowelPvE.EnoughLevel && nextGCD.IsTheSameTo(true, VorpalThrustPvE))
|
84 | 97 | || (!FullThrustPvE.EnoughLevel && nextGCD.IsTheSameTo(true, VorpalThrustPvE, DisembowelPvE))
|
85 | 98 | || (!LanceChargePvE.EnoughLevel && nextGCD.IsTheSameTo(true, DisembowelPvE, FullThrustPvE))
|
86 | 99 | || (!BattleLitanyPvE.EnoughLevel && nextGCD.IsTheSameTo(true, ChaosThrustPvE, FullThrustPvE)))
|
87 |
| - { |
88 |
| - if (LifeSurgePvE.CanUse(out act, usedUp: true)) |
89 |
| - { |
90 |
| - return true; |
91 |
| - } |
92 |
| - } |
| 100 | + { |
| 101 | + if (LifeSurgePvE.CanUse(out act, usedUp: true)) |
| 102 | + { |
| 103 | + return true; |
| 104 | + } |
| 105 | + } |
93 | 106 | }
|
94 | 107 |
|
95 | 108 | return base.EmergencyAbility(nextGCD, out act);
|
|
0 commit comments