Tested that triggers fire for all properties.
Fixed some action engine issues found.
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user