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

Commit

Permalink
Merge pull request #222 from FFXIV-CombatReborn/more-options
Browse files Browse the repository at this point in the history
Update package version and add PrimalRendDistance config
  • Loading branch information
LTS-FFXIV authored Sep 13, 2024
2 parents c3dda1f + 5092a30 commit 5c66c06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BasicRotations/RebornRotations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Compile Include="Duty\EmanationDefault" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="RotationSolverReborn.Basic" Version="7.0.5.63" />
<PackageReference Include="RotationSolverReborn.Basic" Version="7.0.5.65" />
</ItemGroup>
<ItemGroup>
<Reference Include="Dalamud">
Expand Down
6 changes: 5 additions & 1 deletion BasicRotations/Tank/WAR_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ public sealed class WAR_Default : WarriorRotation
[RotationConfig(CombatType.PvE, Name = "Use Bloodwhetting/Raw intuition on single enemies")]
public bool SoloIntuition { get; set; } = false;

[Range(1, 20, ConfigUnitType.Yalms)]
[RotationConfig(CombatType.PvE, Name = "Max distance you can be from the boss for Primal Rend use (Danger, setting too high will get you killed)")]
public float PrimalRendDistance { get; set; } = 2;

[Range(0, 1, ConfigUnitType.Percent)]
[RotationConfig(CombatType.PvE, Name = "Nascent Flash Heal Threshold")]
public float FlashHeal { get; set; } = 0.6f;
Expand Down Expand Up @@ -147,7 +151,7 @@ protected override bool GeneralGCD(out IAction? act)
{
if (!IsMoving && PrimalRendPvE.CanUse(out act, skipAoeCheck: true))
{
if (PrimalRendPvE.Target.Target?.DistanceToPlayer() < 2) return true;
if (PrimalRendPvE.Target.Target?.DistanceToPlayer() < PrimalRendDistance) return true;
}
if (PrimalRuinationPvE.CanUse(out act)) return true;
}
Expand Down

0 comments on commit 5c66c06

Please sign in to comment.