I'm trying to make a macro that rolls a character ability which does the following: Roll the character's base damage (a number of d6 (in this case, 3) with a modifier (in this case, +8)) and that number cannot be higher than half of the same character's Defense score (which is 23, halved to 11.5). In other words, roll 3d6+8 with a maximum of Defense/2. But this section of the macro is giving me issues: {{Damage=[[{(3d6+8)/2, 11.5}kl1]]}} It throws me this error: Cannot mix M and sum rolls in a roll group Changing 11.5 to @{Defense}/2 like I would prefer spits out the same error but the M and sum are reversed. I have absolutely no idea what to do about this. It is very annoying because nearly everything in the game I'm running works like this: Roll with a modifier and have a maximum cap on the result. Can I get some help? Perhaps a workaround?