Started fixing action target selection

This commit is contained in:
ThaumRystra
2024-06-12 15:43:56 +02:00
parent 4921a34dfe
commit a5292cf0f2
17 changed files with 162 additions and 15 deletions

View File

@@ -47,7 +47,7 @@ export default async function applyItemAsAmmoTask(task: ItemAsAmmoTask, action:
type: 'item',
}],
// Log the item name as a heading if it has child properties to apply
...itemChildren.length && {
...itemChildren.length && !task.params.skipChildren && {
contents: [{
name: getPropertyTitle(item) || 'Ammo',
inline: false,