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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user