I want to display special and fumble in character sheet template, and ability code is this. <button class="sheet-spec-roll" type="roll" value="&{template:HogwartsDice} {{name=@{character_name}}}{{spec=소각}}{{target=[[@{A2_value}]]}}{{roll2d6=[[1d6]]+[[1d6]]}}">소각</button>
<input type="text" value="" name="attr_A2_value" /> (* [[1d6]]+[[1d6]] is fixed code, Original is [[2d6]]) In this rule, 12 (6+6) is special, and 2 (1+1) is fumble. And my second code is this <div class="sheet-dice">
{{roll2d6}}
{{#mod}}
{{#rollGreater() mod 0}}
<span class="sheet-mod">+{{mod}}</span>
{{/rollGreater() mod 0}}
{{#rollLess() mod 0}}
<span class="sheet-mod">{{mod}}</span>
{{/rollLess() mod 0}}
{{/mod}}
{{#rollTotal() roll2d6 12}}
<p class="sheet-special">special</p>
{{/rollTotal() roll2d6 12}}
{{#rollTotal() roll2d6 2}}
<p class="sheet-fumble">fumble</p>
{{/rollTotal() roll2d6 2}}
</div>
</div> but it isn't work. I think it needs to be modified so that it can recognize 2d6 separately... It's not my original code, so I don't know how to do. How can I fix this???