Hi, I'm trying to help my players visualize how likely or unlikely they are to succeed at different tasks, since we're all a little bad at math. I want a macro that you can enter a difficulty class into, then enter the roll bonus, which then calculates the percentage chance of success and failure (d20). Here's what I've got so far: ?{wishper|yes,/w gm|no,} &{template:dmg} {{rname=Percent Chance}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[{{21-{?{Difficulty Class}-?{Roll Bonus}}}*5}]]%}} {{dmg1type=success (max 95%)}} {{dmg2flag=1}} {{dmg2=[[{100-{{21-{?{Difficulty Class}-?{Roll Bonus}}}*5}}]]%}} {{dmg2type=failure (min 5%)}} {{savedesc=savedesc}} {{savedc=savedc}} My main issue is with the calculation part of the macro: [[{{21-{?{Difficulty Class}-?{Roll Bonus}}}*5}]] This part seems to function normally. When I enter a DC 15 with a +0 bonus, it tells me I have a 30% chance success rate, and a 70% chance failure rate. However, if I enter a -1 bonus with the same DC, it tells me I have a 105% chance success rate. From what I can tell, something about the negative value prevents the {?{Difficulty Class}-?{Roll Bonus} section from calculating correctly. Instead, it seems to just multiply 21 by 5, ignoring the center part of the calculation. When I hover over the result in the chat this is what I see In this image, the calculation should go like this (I think): [[{{21-{15- -1}}*5}]] -> [[{{21-{14}}*5}]] -> [[{{7}*5}]] -> 35 I'm guessing that I've bonked something with all the brackets or order of calculations. But since I have no idea what I'm doing I'm at a loss. If anybody could help me out, or even suggest a whole new approach, that'd be awesome. Thanks!