Ok so It's pathfinder. I want my fireball to respond to changes in effective caster level as this determines how many d6 are rolled. I'm going to have MANY version of fireball with shenanigans and I'd like to do the work setting up a proper formula. I know how to do a Keep Lesser function.. basically fireball normally caps at 10d6 so i wrote, {10,@{level}+2}kl1 but i need this to determine how many dice are rolled. I tried just putting d6 right after it in a few ways and it didn't work.