So the Jump spell says "The subject gets a +10 enhancement bonus on Jump checks. The enhancement bonus increases to +20 at caster level 5th, and to +30 (the maximum) at caster level 9th." I'm making spell macros and I was wondering if there was some way to derive the bonus from caster level in a macro. I tried a bunch of things with floor and ceil functions, but could never get it right. Level 4 always seemed to give +20 when it should be +10 or level 5 would do the reverse. This is more for the challenge than anything else. The bonuses are pretty simple to figure out and apply in play. If I really needed it to be generated automatically, I could do a rollable table or the API to get what I want, but something tells me there is a way to do it in a macro and I just can't see it. Maybe I have been working on this too long... :-) Thanks to anyone who can satisfy my curiosity!