
I'm having a stab at a roll template in my custom sheet by copying the WOD example here and swapping in my sheet's elements, but it's not working exactly right. Everything is as it should be except that the {{result=1}} at the bottom shouldn't be there - instead it should simply be a 1 (or whatever the result) before the word 'Successes'. Here's the html: <button type="roll" value=" &{template:wod} {{name=@{character_name}}} {{roll_name=Resources}} {{result=[[([[{[[@{res}+?{Bonus dice (Equipment/Teamwork/Misc)|0}]],1}kh1]])d6>6]]}} " name="roll_resCheck"></button> <rolltemplate class="sheet-rolltemplate-wod"> <table> <tr><th>{{name}} rolls{{#roll_name}} {{roll_name}}{{/roll_name}}</th></tr> <tr> <td class="result">{{result}} Successes</td> </tr> </table> </rolltemplate> Can anyone see where I've gone wrong?