[[ceil(abs(([[@{skill_attr}+@{skill_attr_mod}]] - 1d100cf>[[@{skill_attr}+@{skill_attr_mod}+1]]cs<[[@{skill_attr}+@{skill_attr_mod}]]) / 10)) ]] Not sure how difficulty dice(1 to 5 penetrating d6) can be added to the d100 roll before determining cs or cf. The roll template uses cs and cf to format the DoS/DoF. If there is a better way to get DoS/DoF I am all ears. I want to be able to add ?{Difficulty|0, 0|1, [[1d6!p]]|2, [[2d6!p]]|3, [[3d6!p]]|4, [[4d6!p]]|5, [[5d6!p]]} Also, if I roll the exact target number it comes up as 0 DoS when it needs to be 1 DoS. I am hoping this can be done without an API since I don't know how to write one. Sample: [[ceil(abs(([[30+2]] - 1d100cf>[[30+2+1]]cs<[[30+2]]) / 10)) ]]