
Alright guys, I have a monk with Martial Arts. I thought I would be able to just alter the spellcasting cantrips leveling code to be able to code it by itself. [[((@{level} + 1) / 6 + 0.5)d1]] <--- works for the levels: 1 from 1-4, 2 from 5-10, 3 from 11-16, 4 from 17-20 (Made this a d1 for testing purposes). I feel like this code below should work, but it is going up to a d5 instead of d4 at level 4. and its still a d5 at level 5 instead of d6. [[1d((((@{level} + 1) / 6 + 0.5) * 2) + 2)]] <--- NEED d4 from 1-4, d6 from 5-10, d8 from 11-16, d10 from 17-20 If someone can please help me here, it would be much appreciated. EDIT: I'm currently using the 5e shaped character page if that makes a difference for you.