The Game Master said: I'm trying to make a calculation that would make it that whenever a character has a certain attribute its divided by two for a bonus (Round down), with a minimum bonus of 1. That seems easy enough using group rolls with drop/keep So essentially I need something to give a value of 0, if the Attribute is 0. 1 if the attribute is 1,2 or 3. And then go on simply dividing the number for all other values by 2, and rounding down. This part confuses me. I'm not sure how that can be worked out just in a macro. 0=0, {1,2,3}=1 and {4,5,6,...}={4,5,6,...} is this correct? I made this: floor((@{customa4-mod}-2)/2)+ceil(@{customa4-mod}/100))*(ceil(@{customa4-mod}/100) and a proxy worked fine in excel, however, it just doesn't need to work in roll20. Any tips? This should help with making a comparison and keeping a minimum number. <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Ro</a>... and <a href="https://wiki.roll20.net/Dice_Reference#Drop.2FKeep" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Drop.2FKeep</a> I'm not sure on the other...