I'm trying to build a character sheet for a system that's quite mathematically complex. The idea is that Attributes range from 10 to 50. The roll is a d10, but the actual roll is 1d10 + (Attribute/10)d10. I managed to prepare the formula under the button: <input type="number" align="center" style="width:60%" name = "attr_char_sil" value="10" min="0" max="40"/>
<button type='roll' style="width:60%;" name'roll_silCheck' value='/r [[?{Cecha|floor(@{char_sil}/10)+1]]d10}' data-i18n="SIŁ">SIŁ</button> However, this formula: (floor(@{char_sil}/10)+1)d10 doesn't work in the template (I want to display the results separately). Maybe you also have an idea how to mark the results without using the API: 1-6 is Failure 7-9 is 1 Success 10 is 2 Successes And then sum the successes It seems like Custom Roll Parsing would be helpful, but I can't to build it properly.