Refactor and enhance rotation logic and configurations #575
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes across multiple files to improve the healing logic and configuration options in the
BasicRotations
project, particularly for the healer classes. The most important changes include adding new actions to the rotation descriptions, refining the healing logic, and updating configuration options.Improvements to healing logic:
BasicRotations/Healer/SCH_Default.cs
: AddedManifestationPvE
to theHealSingleGCD
rotation description andConcitationPvE
andAccessionPvE
to theDefenseAreaGCD
rotation description. [1] [2]BasicRotations/Healer/SGE_Default.cs
: Refined the loop logic inHealSingleAbility
to check each party member and tank individually for health thresholds before using specific healing actions.BasicRotations/Healer/SGE_Default.cs
: Simplified theChoiceEukrasia
method by usingelse if
statements and removed redundant code.Configuration updates:
RotationSolver.Basic/Configuration/Configs.cs
: Added new experimental configuration options for raising non-healers, prioritizing Red Mage and Summoners, and setting a buffer for using swiftcast before the next GCD.RotationSolver.Basic/Configuration/Configs.cs
: Adjusted theAction Ahead
timer to 0.3 seconds to improve the queuing of the next GCD.Codebase simplification:
BasicRotations/Healer/SGE_Default.cs
: Removed theNewELogic
configuration option and associated logic.RotationSolver.Basic/Actions/BaseAction.cs
: Removed theIsLastAbilityUsable
andIsFirstAbilityUsable
methods and their v2 counterparts, simplifying theCanUse
method.Minor fixes:
BasicRotations/Healer/WHM_Default.cs
: Updated healing logic to check ifSwiftcastPvE
was the last action performed, improving the handling of swiftcast logic. [1] [2] [3]ECommons
: Updated the submodule to a new commit.