One of my players for an upcoming Pathfinder 1E game is wanting to play a rogue and take a rogue talent that treats 1's as 2's and eventually will treat 1's and 2's as 3's.  My conundrum is that I cannot figure out a way to get BOTH an automatic scaling of the sneak attack die with level progression AND the treatment of 1's as 2's (and eventually both as 3's) My current solution for automatic scaling is: [[ [[ ceil (( @{class-0-level} ) / 2) ]] d6 ]] My current solution for treating 1's as 2's is: [[ { [[ 1d6 ]] , [[ 2 ]] } kh1 ]] The problem with trying to combine them is if, at level 3, the player rolls a 1 and a 2 on their sneak attack die, the number compared to the 2 is 3 and it being higher gets kept instead of comparing the results of each d6 roll.  The workaround in place right now is to simply take the 1's and 2's comparison and do a + copy manually each sneak attack die upgrade, but I'd prefer to automate it if there was any way to do so, I just can't figure out how. EDIT: SOLVED I forgot about rollable tables, so for anyone else wanting to set this up, the solution I have now is to create a rollable table with 2 having a weight of 2 and then 3, 4, 5, and 6 with a weight of 1 and then using: [[ [[ ceil (( @{level} )/2) ]] t[Sneak-Attack] ]]