This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tykku
committed
May 13, 2024
1 parent
e104e47
commit ca71172
Showing
1 changed file
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
using RotationSolver.Basic.Rotations.Duties; | ||
|
||
namespace DefaultRotations.Duty; | ||
namespace DefaultRotations.Duty; | ||
|
||
[Rotation("Emanation Default", CombatType.PvE)] | ||
[DutyTerritory(263, 264)] | ||
internal class EmanationDefault : DutyRotation | ||
{ | ||
protected override bool EmergencyAbility(IAction nextGCD, out IAction? act) | ||
{ | ||
if (VrilPvE.CanUse(out act)) return true; // Normal | ||
if (VrilPvE_9345.CanUse(out act)) return true; // Extreme | ||
return base.EmergencyAbility(nextGCD, out act); | ||
// 8521 8522 8523 | ||
bool Lol1 = HostileTarget?.CastActionId == 8521 | ||
bool Lol2 = HostileTarget?.CastActionId == 8522 | ||
bool Lol3 = HostileTarget?.CastActionId == 8523 | ||
|
||
if (Lol1 && Lol2 && Lol3) | ||
{ | ||
if (VrilPvE.CanUse(out act)) return true; // Normal | ||
if (VrilPvE_9345.CanUse(out act)) return true; // Extreme | ||
return base.EmergencyAbility(nextGCD, out act); | ||
} | ||
} | ||
} | ||
} |