Ok so, i've been working on making all my spell macros automatically update their level dependent variables for me to speed up the process of leveling up during a campaign, but i've run into a slight snag with a particular spell... unlike most of my spells that deal 1d? every X levels or 2d? every 1-2 levels this particular spell deals 2d? every 4th... at first I figured it'd be no different than the 2d? every 1-2 level spells but it would appear I was wrong about that... since floor/ceil can't be included in an equation to determine the number of dice i end up with some odd results when the level variable moves from 1-2 up to 3+. +2 every 1-2 my results are always Odd.5 or Even giving me an even number of dice every time... but with +2 every 3 or more i get a wider range of results including many Even.# results yielding an odd number of dice where there should only be even. So to put it simply... I need a calculation that will always yield an even number of dice for a +2 every 4th level modifier... (((@{casterlevel}-3)/4)*2)d? I thought taking my +1 every 4th calculation and doubling the result would work but it doesn't... and it gets progressively worse as level increases.. for example, at 12th level It should add it's 3rd set of dice giving the spell 6 dice but instead the calculation yields a result of 5 dice since (12-3)/4 = 2.25 doubled is 4.5. I considered adding 1.5 to the end of the equation, but then i'd be getting my 5th and 6th dice at 11th and a 5th dice at 10th switching to a +1 every 2nd calculation solves the issue of the calculation giving progressivly fewer dice than it should at every 4th level, but still results in odd dice on every even level between ((@{casterlevel}-1)/2)d? so any help to resolve this would be greatly appriciated