Tested that triggers fire for all properties.

Fixed some action engine issues found.
This commit is contained in:
ThaumRystra
2024-11-07 00:22:46 +02:00
parent 057772c60a
commit 2c431293e0
9 changed files with 197 additions and 75 deletions

View File

@@ -27,6 +27,10 @@ export default async function applyBuffRemoverProperty(
return applyTaskToEachTarget(action, task, targetIds, userInput);
}
if (!targetIds.length) {
return applyDefaultAfterPropTasks(action, prop, task.targetIds, userInput);
}
if (targetIds.length !== 1) {
throw 'At this step, only a single target is supported'
}