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

Commit

Permalink
fix: fixed with SAM.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 22, 2023
1 parent 051b4b2 commit a7d4446
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net7.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Authors>ArchiTed</Authors>
<Version>2.3.5</Version>
<Version>2.3.5.1</Version>
<PlatformTarget>x64</PlatformTarget>
<Platforms>AnyCPU</Platforms>

Expand Down
11 changes: 6 additions & 5 deletions RotationSolver.Basic/Rotations/Basic/RDM_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,19 @@ public abstract class RDM_Base : CustomRotation
private sealed protected override IBaseAction Raise => Verraise;
public static IBaseAction Verraise { get; } = new BaseAction(ActionID.Verraise, ActionOption.Friendly);

public static IBaseAction Vercure { get; } = new BaseAction(ActionID.Vercure, ActionOption.Heal)
public static IBaseAction Acceleration { get; } = new BaseAction(ActionID.Acceleration, ActionOption.Buff)
{
StatusProvide = Swiftcast.StatusProvide.Union(Acceleration.StatusProvide).ToArray(),
StatusProvide = new[] { StatusID.Acceleration },
};

public static IBaseAction MagickBarrier { get; } = new BaseAction(ActionID.MagickBarrier, ActionOption.Defense);

public static IBaseAction Acceleration { get; } = new BaseAction(ActionID.Acceleration, ActionOption.Buff)
public static IBaseAction Vercure { get; } = new BaseAction(ActionID.Vercure, ActionOption.Heal)
{
StatusProvide = new[] { StatusID.Acceleration },
StatusProvide = Swiftcast.StatusProvide.Union(Acceleration.StatusProvide).ToArray(),
};

public static IBaseAction MagickBarrier { get; } = new BaseAction(ActionID.MagickBarrier, ActionOption.Defense);

public static IBaseAction Embolden { get; } = new BaseAction(ActionID.Embolden, ActionOption.Buff);

public static IBaseAction Manafication { get; } = new BaseAction(ActionID.Manafication)
Expand Down
7 changes: 3 additions & 4 deletions RotationSolver.Basic/Rotations/Basic/SAM_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ public abstract class SAM_Base : CustomRotation
public override MedicineType MedicineType => MedicineType.Strength;
public sealed override ClassJobID[] JobIDs => new ClassJobID[] { ClassJobID.Samurai };

[Obsolete("Please use HasMoon", true)]
protected static bool HaveMoon => HasMoon;
protected static bool HasMoon => Player.HasStatus(true, StatusID.Fugetsu);

[Obsolete("Please use HasFlower", true)]
protected static bool HaveFlower => HasFlower;
protected static bool HasFlower => Player.HasStatus(true, StatusID.Fuka);

protected static bool IsMoonTimeLessThanFlower
=> Player.StatusTime(true, StatusID.Fugetsu) < Player.StatusTime(true, StatusID.Fuka);

#region JobGauge
static SAMGauge JobGauge => Service.JobGauges.Get<SAMGauge>();

Expand Down

0 comments on commit a7d4446

Please sign in to comment.