I want to create a macro or roll for the game Traveller, it has a system where any result over the success it calculated as the "Effect" of the roll. For example (succeeding on 6) rolling 2D6=7 will produce an Effect of 1. Rolling 2D6=12 would be an effect of 6 Is there any way I can display the effect in the result template. I am building the whole sheet from scratch in HTML for the first time so any help would be greatly appreciated, if I have to code it in HTML using helper functions could that possibly work? &{template:default} {{name=Test Attack}} {{attack=[[2D6+@{mod}]]}} {{effect=???????}}