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

Commit

Permalink
fix: add the dot action time.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Aug 16, 2023
1 parent 6b38e27 commit 78b6641
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 6 deletions.
3 changes: 2 additions & 1 deletion RotationSolver.Basic/Rotations/Basic/AST_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public abstract class AST_Base : CustomRotation
StatusID.Combust2,
StatusID.Combust3,
StatusID.Combust4,
}
},
TimeToDie = 20,
};

/// <summary>
Expand Down
7 changes: 5 additions & 2 deletions RotationSolver.Basic/Rotations/Basic/BRD_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,17 @@ protected static bool SongEndAfterGCD(uint gctCount = 0, float offset = 0)
/// </summary>
public static IBaseAction VenomousBite { get; } = new BaseAction(ActionID.VenomousBite, ActionOption.Dot)
{
TargetStatus = new[] { StatusID.VenomousBite, StatusID.CausticBite }
TargetStatus = new[] { StatusID.VenomousBite, StatusID.CausticBite },
TimeToDie = 30,
};

/// <summary>
///
/// </summary>
public static IBaseAction WindBite { get; } = new BaseAction(ActionID.WindBite, ActionOption.Dot)
{
TargetStatus = new[] { StatusID.WindBite, StatusID.StormBite }
TargetStatus = new[] { StatusID.WindBite, StatusID.StormBite },
TimeToDie = 30,
};

/// <summary>
Expand All @@ -105,6 +107,7 @@ protected static bool SongEndAfterGCD(uint gctCount = 0, float offset = 0)
{
TargetStatus = VenomousBite.TargetStatus.Union(WindBite.TargetStatus).ToArray(),
ActionCheck = (b, m) => b.HasStatus(true, VenomousBite.TargetStatus) & b.HasStatus(true, WindBite.TargetStatus),
TimeToDie = 30,
};

/// <summary>
Expand Down
5 changes: 4 additions & 1 deletion RotationSolver.Basic/Rotations/Basic/MCH_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ protected static bool OverheatedEndAfterGCD(uint gctCount = 0, float offset = 0)
/// <summary>
///
/// </summary>
public static IBaseAction BioBlaster { get; } = new BaseAction(ActionID.BioBlaster, ActionOption.Dot);
public static IBaseAction BioBlaster { get; } = new BaseAction(ActionID.BioBlaster, ActionOption.Dot)
{
TimeToDie = 10,
};

/// <summary>
///
Expand Down
6 changes: 5 additions & 1 deletion RotationSolver.Basic/Rotations/Basic/MNK_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ public abstract class MNK_Base : CustomRotation
/// <summary>
///
/// </summary>
public static IBaseAction TwinSnakes { get; } = new BaseAction(ActionID.TwinSnakes, ActionOption.Dot);
public static IBaseAction TwinSnakes { get; } = new BaseAction(ActionID.TwinSnakes, ActionOption.Dot)
{
TimeToDie = 10,
};

/// <summary>
///
Expand All @@ -74,6 +77,7 @@ public abstract class MNK_Base : CustomRotation
{
TargetStatus = new StatusID[] { StatusID.Demolish },
GetDotGcdCount = () => 3,
TimeToDie = 12,
};

/// <summary>
Expand Down
1 change: 1 addition & 0 deletions RotationSolver.Basic/Rotations/Basic/SAM_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public static bool IsMoonTimeLessThanFlower
{
ActionCheck = (b, m) => !IsMoving && SenCount == 1,
TargetStatus = new[] { StatusID.Higanbana },
TimeToDie = 40,
};

/// <summary>
Expand Down
1 change: 1 addition & 0 deletions RotationSolver.Basic/Rotations/Basic/SCH_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public abstract class SCH_Base : CustomRotation
public static IBaseAction Bio { get; } = new BaseAction(ActionID.Bio, ActionOption.Dot)
{
TargetStatus = new StatusID[] { StatusID.Bio, StatusID.Bio2, StatusID.Biolysis },
TimeToDie = 20,
};

/// <summary>
Expand Down
1 change: 1 addition & 0 deletions RotationSolver.Basic/Rotations/Basic/SGE_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ protected static bool AddersgallEndAfterGCD(uint gctCount = 0, float offset = 0)
StatusID.EukrasianDosis2,
StatusID.EukrasianDosis3
},
TimeToDie = 20,
};

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion RotationSolver.Basic/Rotations/Basic/WHM_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ protected static bool LilyAfterGCD(uint gcdCount = 0, float offset = 0)
StatusID.Aero,
StatusID.Aero2,
StatusID.Dia,
}
},
TimeToDie = 20,
};

/// <summary>
Expand Down

0 comments on commit 78b6641

Please sign in to comment.