
"Degrees of Success" is a mechanic used in Dark Heresy, Rogue Trader and related Warhammer 40K table top games. It measures by how much the target number has been beaten/lost by on the die roll. Oftentimes each degree of success results in added effects, for example an attack my gain +1 hit for each degree of success. Going over the Wiki, I was unable to find any sort of ability to save an output of an inline roll/calculation to be used later in the macro. For example, a roll/calculation ends up with (x) degrees of success, which means that the attack has (x+1) hits. I wish to then use this (x+1) in the damage rolls. If the inline roll calculation for Degrees of Success is: x then number of hits will be: (x+1) A single damage roll is: [[d10+2]] then I want the damage for the multiple hits from the Degrees of Success to be: [[(x+1)d10+{(x+1)+2}]] ... If there is no way to save the output of a roll/calculation as a variable to be used later, are there any suggestions for how best to deal with Degrees of Success resulting in multiple hits? Currently my solution is simply to have an inline roll calculate degrees of success, then a list of multiple damage rolls. The user reads the degrees of success and then counts up as many of the damage rolls as is proper given the specific rules for the situation, ignoring the extra rolls. If there is not enough extra damage rolls, the user would then either replay the macro (ignoring everything except for the extra damage rolls needed) or manually enter the extra damage rolls they need.