This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
1 parent
99c7da3
commit 008550d
Showing
13 changed files
with
1,920 additions
and
88 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
using RotationSolver.Basic.Rotations.Duties; | ||
|
||
namespace DefaultRotations.Duty; | ||
|
||
[Rotation("Bozja Default")] | ||
internal class BozjaDefault : BozjaRotation | ||
{ | ||
public override bool ProvokeAbility(out IAction? act) | ||
{ | ||
if (VariantUltimatumPvE.CanUse(out act)) return true; | ||
return base.ProvokeAbility(out act); | ||
} | ||
|
||
public override bool AttackAbility(out IAction? act) | ||
{ | ||
if (VariantSpiritDartPvE.CanUse(out act, skipAoeCheck: true)) return true; | ||
if (VariantSpiritDartPvE_33863.CanUse(out act, skipAoeCheck: true)) return true; | ||
if (VariantRampartPvE.CanUse(out act)) return true; | ||
if (VariantRampartPvE_33864.CanUse(out act)) return true; | ||
return base.AttackAbility(out act); | ||
} | ||
|
||
public override bool HealSingleGCD(out IAction? act) | ||
{ | ||
if (VariantCurePvE.CanUse(out act)) return true; | ||
if (VariantCurePvE_33862.CanUse(out act)) return true; | ||
return base.HealSingleGCD(out act); | ||
} | ||
|
||
public override bool DefenseSingleGCD(out IAction? act) | ||
{ | ||
if (LostStoneskinPvE.CanUse(out act)) return true; | ||
return base.DefenseSingleGCD(out act); | ||
} | ||
|
||
public override bool DefenseAreaGCD(out IAction? act) | ||
{ | ||
if (LostStoneskinIiPvE.CanUse(out act)) return true; | ||
return base.DefenseAreaGCD(out act); | ||
} | ||
|
||
public override bool EmergencyGCD(out IAction? act) | ||
{ | ||
#region Bozja | ||
//if (LostSpellforge.CanUse(out act)) return true; | ||
//if (LostSteelsting.CanUse(out act)) return true; | ||
//if (LostRampage.CanUse(out act)) return true; | ||
//if (LostBurst.CanUse(out act)) return true; | ||
|
||
//if (LostBravery.CanUse(out act)) return true; | ||
//if (LostBubble.CanUse(out act)) return true; | ||
//if (LostShell2.CanUse(out act)) return true; | ||
//if (LostShell.CanUse(out act)) return true; | ||
//if (LostProtect2.CanUse(out act)) return true; | ||
//if (LostProtect.CanUse(out act)) return true; | ||
|
||
////Add your own logic here. | ||
//if (LostFlarestar.CanUse(out act)) return true; | ||
//if (LostSeraphStrike.CanUse(out act)) return true; | ||
|
||
#endregion | ||
return base.EmergencyGCD(out act); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace RotationSolver.Basic.Attributes; | ||
|
||
[AttributeUsage(AttributeTargets.Class)] | ||
public class DutyTerritoryAttribute(params uint[] territoryIds) : Attribute | ||
{ | ||
public uint[] TerritoryIds => territoryIds; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace RotationSolver.Basic.Attributes; | ||
|
||
[AttributeUsage(AttributeTargets.Property)] | ||
public class IDAttribute(uint id) : Attribute | ||
{ | ||
public uint ID => id; | ||
} |
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
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
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
Oops, something went wrong.