We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d731108 + f2564e3 commit 0afe965Copy full SHA for 0afe965
1 file changed
AutoDuty/Managers/ActionsManager.cs
@@ -186,8 +186,14 @@ public void BossMod(PathAction action)
186
187
public void ModifyIndex(PathAction action)
188
{
189
- if (!int.TryParse(action.Arguments[0], out int _index)) return;
190
- Plugin.Indexer = _index;
+ if (!int.TryParse(action.Arguments[0], out int _index))
+ return;
191
+
192
193
+ if (action.Arguments[0][0] is '+' or '-')
194
+ Plugin.Indexer += _index;
195
+ else
196
+ Plugin.Indexer = _index;
197
Plugin.Stage = Stage.Reading_Path;
198
}
199
0 commit comments