
I'm working on a prototype system, trying out a few different systems of rolling. I'm attempting to create a macro which can auto-generate the necessary dice pool based on only two inputs, but getting it to do so correctly seems to be beyond me. Maybe I'm just really dumb. Maybe I can't think right at 4am. Either way, I hope someone else can succeed where I cannot! Here's how it goes... Two values to input. Stat , which varies from 1 to 5. Skill, which varies from 0 to 5. Every point in Stat gives you one d10 to roll. Every point in Skill upgrades your dice or adds another dice. If your Skill is less than or equal to the Stat, it upgrades a d10 into a d20. If your Skill exceeds your Stat, the first point of excess will give you an extra d10, and the second point changes that d10 into a d20. This process repeats itself. So to give examplesof what SHOULD result from input... 1 Stat 0 Skill should result in 1d10. 1 Stat 1 Skill should result in 1d20. 1 Stat 2 Skill should result in 1d20+1d10. 1 Stat 3 Skill should result in 2d20. 1 Stat 4 Skill should result in 2d20+1d10. 1 Stat 5 Skill should result in 3d20. 2 Stat 4 Skill should result in 3d20. 3 Stat 3 Skill should result in 3d20. 4 Stat 2 Skill should result in 2d20+2d10. 5 Stat 1 Skill should result in 1d20+4d10. 5 Stat 3 Skill should result in 3d20+2d10.