Hey everyone. I have searched high and low for this and when I couldn't find it I made it myself lol. OK so description for Psionic Power (3rd level skill for Soulknife Rogues) is as follows: 3rd-level Soulknife feature You harbor a wellspring of psionic energy within yourself. This energy is represented by your Psionic Energy dice, which are each a d6 . You have a number of these dice equal to twice your proficiency bonus, and they fuel various psionic powers you have. ... When you reach certain levels in this class, the size of your Psionic Energy dice increases: at 5th level (d8), 11th level (d10), and 17th level (d12). I wanted to have this feature as a Global Skill button on my character sheet but couldn't work out how to make it so the die would increase automatically at those milestones. After some trial and error I remembered the cantrip die formula uses this method to determine the amount of die to add each milestone: ceil((@{level} + 2) / 6) So I thought about how that could be used to find the dice size instead. I realised that If I multiplied the result of the cantrip formula by 2, I'd get : Level 1-5 = 2 Level 6-10 = 4 Level 11-16 = 6 Level 17+ = 8 So that would make my formula: (ceil((@{level} + 2) / 6) * 2) And to get to the needed dice value, I'd need to add 4! 2+4 = d6 4+4 = d8 6+4 = d10 8+4 = d12 (ceil((@{level} + 2) / 6) * 2) + 4 So, to make this a rollable die, I'd need to add 1d and then the code surrounded by [[]]! 1d[[(ceil((@{level} + 2) / 6) * 2) + 4]] There might be a more ingenious way to implement but I'm happy with this one. Feel free to make it better!