feat: Per-combo reset options and preserve-position toggle

- Per-combo reset when: Game timer (default), Never, On target change,
  After X seconds. Never = cycle sequence without time/target reset.
  After seconds uses configurable 0.5–300s window.

- Per-combo 'Preserve position when using other actions' (default on):
  when on, using another combo or any ability never resets this combo's
  step; it only resets per its own 'Reset when' setting. When off
  (original), using an action not in this combo resets it to step 1.

- Optional ITargetManager via constructor for On target change; plugin
  loads if service unavailable (On target change no-op when null).

Made-with: Cursor
This commit is contained in:
jorg
2026-03-02 10:50:52 -06:00
parent 9f77bc2916
commit 7c174efa70
5 changed files with 173 additions and 13 deletions
+4 -1
View File
@@ -15,10 +15,13 @@ public sealed class ConfigurableComboPlugin : IDalamudPlugin
public ConfigurableComboPlugin(
IDalamudPluginInterface pluginInterface,
ISigScanner sigScanner,
IGameInteropProvider gameInteropProvider)
IGameInteropProvider gameInteropProvider,
ITargetManager? targetManager = null)
{
pluginInterface.Create<Service>();
Service.TargetManager = targetManager;
Service.Configuration = pluginInterface.GetPluginConfig() as PluginConfiguration ?? new PluginConfiguration();
Service.Address = new PluginAddressResolver();
Service.Address.Setup(sigScanner);