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

Commit

Permalink
Testmination 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tykku committed May 13, 2024
1 parent e104e47 commit ca71172
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions BasicRotations/Duty/EmanationDefault.cs
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);
}
}
}
}

0 comments on commit ca71172

Please sign in to comment.