fix(RDM): Use Enchanted melee actions when Black & White mana ≥ 20
Red Mage melee combo (Riposte 7504 → Zwerchhau 7512 → Redoublement 7516) should switch to Enchanted variants (7527, 7528, 7529) when both mana gauges are 20 or higher. The plugin was forcing base actions instead. Changes: - Add IJobGauges to read RDM Black/White mana - ResolveRdmEnchanted(): substitute 7527/7528/7529 when mana ≥ 20 - NormalizeLastComboMoveForSequence(): game/overlay may report Enchanted IDs; map to base for correct sequence index lookup - Apply resolution in UseAction, ExecuteSlotById, GetSlotAppearance, GetIcon, OnFrameworkUpdate - Match combo trigger when slot shows Enchanted Riposte (7527) - ClearOverlayIfActionNotInCombo: treat Enchanted IDs as in-combo - SetOurComboState: Enchanted Redoublement = last step for GCD block Also: remove hardcoded DalamudLibPath so SDK uses platform defaults (~/.xlcore/dalamud/Hooks/dev/ on Linux, %AppData% on Windows) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,10 +16,7 @@
|
||||
<AssemblyName>ConfigurableCombo</AssemblyName>
|
||||
<Version>1.0.0.0</Version>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<DalamudLibPath>$(appdata)\XIVLauncher\addon\Hooks\dev\</DalamudLibPath>
|
||||
</PropertyGroup>
|
||||
<!-- FFXIVClientStructs comes from Dalamud dev folder; do not add a second reference or build fails with CS1704 -->
|
||||
<!-- DalamudLibPath: SDK picks ~/.xlcore/dalamud/Hooks/dev/ on Linux, %AppData%\XIVLauncher\addon\Hooks\dev\ on Windows; use DALAMUD_HOME env to override -->
|
||||
<ItemGroup>
|
||||
<Content Include="ConfigurableCombo.json" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user