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.
Merge pull request #85 from FFXIV-CombatReborn/The-gang-farms-Emanation
nuget bump and emanationdefault
- Loading branch information
Showing
2 changed files
with
13 additions
and
14 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
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,21 +1,26 @@ | ||
namespace DefaultRotations.Duty; | ||
using RotationSolver.Basic.Rotations.Duties; | ||
|
||
namespace DefaultRotations.Duty; | ||
|
||
[Rotation("Emanation Default", CombatType.PvE)] | ||
[DutyTerritory(263, 264)] | ||
internal class EmanationDefault : DutyRotation | ||
|
||
internal class EmanationDefault : EmanationRotation | ||
{ | ||
protected override bool EmergencyAbility(IAction nextGCD, out IAction? act) | ||
public override bool EmergencyAbility(IAction nextGCD, out IAction? act) | ||
{ | ||
// 8521 8522 8523 | ||
bool Lol1 = HostileTarget?.CastActionId == 8521 | ||
bool Lol2 = HostileTarget?.CastActionId == 8522 | ||
bool Lol3 = HostileTarget?.CastActionId == 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); | ||
} | ||
|
||
act = null; | ||
return base.EmergencyAbility(nextGCD, out act); | ||
} | ||
} |