
situation. a character has a skill that they gain at level 3 which lets them roll 1d6. at level 19 it lets them roll 9d6
this is the equation used for his level scaling. there is an easy process to finding the scaling for any type of dice
[[round(((8/16)*@{level}-0.5)-.1)]]
y=mx+b y=number of dice x = character level b= modifier
at level 3 he gets 1d6 so (3,2) and at level 19 he gets 9d6 so (19,9)
now we find the slope of the scaling which is (2-9)/(3-19) = -8/-16 because both are negative they become posotive
8/16....
to find your B use the equation -b=mx-y in this case it is -b=(8/16)x-y. you can use your lowest point for x and y in this case (3,2)
-b=(8/16)3-2 or -b = -.05
so now we have y=(8/16)x-0.5 for any level (x) you will get a number of dice to roll.
because the scaling gives decimal values for even rolls we subtracted -0.1 to the end and rounded the value so it was always a whole number
[[round(((8/16)*@{level}-0.5)-.1)]]
I hope this helps.