
I am trying to understand a macro I found posted in the forms, without much success. The macro I want to modify is this Animate Objects macro . Take for example this line from it: }} {{Attack #[[[{?{Number of attacks}, 6}kl1]]](#)=[[ ?{Roll} + [[abs(?{Size} - 1) + 5]] + {0} ]] vs. AC for [[ [[1 + ceil(?{Size} / 4)]]d[[floor((?{Size} - 2 * {0, 3}=[[2 + ?{Size}]]) / 2) * 2 + 8]] + [[abs(?{Size} - 1) + 1]] ]] damage (if crit, +[[ [[1 + ceil(?{Size} / 4)]]d[[floor((?{Size} - 2 * {0, 3}=[[2 + ?{Size}]]) / 2) * 2 + 8]] ]])
Questions: I cannot figure out the function this part: "[[[{?{Number of attacks}, 6}kl1]]](#)". The inner part "[[{?{Number of attacks}, 6}kl1]]" is an inline dice roll, but I cannot figure out the function of the the outer part "[<dice result>](#)" It looks a bit like like the syntax for "Ability Command Buttons", but that does not seem to be what is going on. Inside the to hit portion there is "+ {0}". What does this do? Inside the damage calculation is "2 * {0, 3}=[[ <some inline roll> ]]" I do not understand the what "{0, 3}=" does. I have tried searching the forums and looked at the documentation without success. Thanks in advance for answers or pointers to documentation. Bret