In order for the variable-number multiattack to work, you
have to click on enough targets to fill the whole target list for the maximum number of targets, there's no way around that limitation. I generally pad out the target list with my own token.
Let me see if I can help you out with understanding how the target list and # of targets works.
!power --name|Bop! --target_list|@{target|1st|token_id} | @{target|2nd|token_id} | @{target|3rd|token_id} --!Bop#?{Number of targets|1}|%%token_name%% gets bopped on the nose!
This is a simple
proof of concept macro. It will ask you to select three targets, then ask how many you're
actually targeting. If you're only targeting 1 or 2, use your own token to pad out the list.
Once you have that macro working, we expand upon the concept, by adding
more targets to the
maximum number of targets.
!power --name|Bop! --target_list|@{target|1st|token_id} | @{target|2nd|token_id}| @{target|3rd|token_id} | @{target|4th|token_id} | @{target|5th|token_id} | @{target|6th|token_id} --!Bop#?{Number of targets|1}|%%token_name%% gets bopped on the nose!
As you can see, the
maximum target count has increased to six targets, denoted by adding 4th through 6th targeting instructions. I've bolded, in both examples, where the roll-query asking how many targets is located.
I hope this helps you out. If not, ask more questions and I'll tackle it :>
Addendum: Sometimes for a macro that
could target lots and lots of targets, but likely
won't, I make two versions: One for the full number of targets, and one for a lesser number. I still have to pad out the list, but padding out a list of 25 targets is more annoying than 5-6 targets.