
In Deathwatch, Dark Heresy, Only War and Rogue Trader, you roll a 1d100 every time you make a check. If you roll your trait value or lower, you succeed. Rolling over means you fail. However, there are also degrees of success and failure. When you succeed, every 10 lower your roll is than your trait value, you achieve one degree of success. Conversely, when you fail, every 10 higher your roll is than your trait value, you achieve one degree of failure. Long story short, I can think of a number of different ways to program this in a number of different programming languages, but not in roll20 macros. Does anyone know how I can program a macro with degrees of success and failure, or should I just take this to the suggestion forum?