
I'm trying to create a custom-fx macro that targets multiple tokens, but I keep getting an error. I know the basic macro works:
/fx agori_eldritch_blast @{selected|token_id}
But when I try to expand it to three blasts:
/fx agori_eldritch_blast @{target|1|token_id} /fx agori_eldritch_blast @{target|2|token_id} /fx agori_eldritch_blast @{target|3|token_id}
Nothing happens and I get the error:
No character was found for 'selected' TypeError: Cannot read property 'view' of undefined
I've tried using "selected and "target." When I switch "selected" to "target" the VTT will ask me to select three targets, upon clicking the third, nothing happens and I get the "TypeError: Cannot read property 'view' of undefined" error three times.
Can anyone see what I'm doing wrong?