Hi folks, Still new here so bear with me. I recently stumbled on the bit of code which allows you to re-use dice rolls so of course I did what any self respecting tinkerer would do and happily started toying around with it. On it's own, I could get the code to work as advertised but when I dropped it into the end of my template, it refused to return the sum of the dice rolls. Following the same format from the original thread ( &{template:default} [[ [[1d20]] + [[1d6]] + [[6]] ]] {{name=My Attack}} {{$[[0]] + $[[1]] + $[[2]]==$[[3]]}}) , I dropped the code in at the end of my macro: &{template:atkdmg} {{rname=[x]( <a href="https://i.imgur.com/ninIZB4.jpg" rel="nofollow">https://i.imgur.com/ninIZB4.jpg</a> )}}{{mod=@{charisma_mod} + @{pb}}}{{r1=[[1d20cf<1cs>20+@{charisma_mod}+@{pb}]]}}{{{(dis)advantage|Normal,normal=1|Advantage,advantage=1|Disadvantage,disadvantage=1}}}{{r2=[[1d20cf<1cs>20+@{charisma_mod}+@{pb}]]}}{{attack=1}} {{range=Butt end}} {{damage=1}}{{dmg1flag=1}} {{dmg1=[[1d4+@{charisma_mod}+@{Grayson Stonereach|pb} ]]}} {{dmg1type=Blunt}}{{dmg2flag=1}}{{dmg2=?{Hex|No,0|Yes,[[1d6]]|}+[[[[2d4]]*@{HoarFrost_Tracker}]]+?{Cloak|No,0|Yes,[[1d6]]}}}{{dmg2type=Force / Cold / Necrotic}}{{crit1=CARD}} {{crit2=PLEASE!!!}} {{hldmg=hldmg}}{{charname=Range: 10 feet}} {{desc= $[[2]] + $[[3]] = $[[4]] }} While it does capture the damage (10 & 6 in the example below), I can't get it to return the total. Here is the output: I've tried adjusting the code above to "= $[[5]]" but it returns, " INVALID INLINE ROLL! " If someone could please point me in the right direction, it would be most appreciated!! Thanks in advance :)