Your post doesnt give a specific question, so I'm not sure what your issue is. But looking at your macro, I see a problem. You can't do this: Floor([[$[[0]]/10-?{HA|0}]])}} The $[[0]] property is not a number, it's just a display thing, think of it as text. You can't do maths with it. One way to do what you're trying to do is to move the arithmetic out of the rolltemplate (but keep it on the same line) and use $[[0]] and $[[1]] to display the results. Like this: &{template:default} {{name=Test Attack}} [[ floor([[1d100]]/10)-?{HA|0}]] {{attack=$[[0]]}} {{EL=$[[1]] }} You might also want the HA to be displayed &{template:default} {{name=Test Attack}} [[ floor([[1d100]]/10)-[[?{HA|0}]] ]] {{attack=$[[0]]}} {{HA=$[[1]]}} {{EL=$[[2]] }} Each number you want to be displayed in the output must be an inline roll [[ ]], and the inline rolls are numbered 0, 1, 2, in the order they appear - from the nested depth out.