Both fixed.The spell definitely sounds interesting, although the cone of fire needs a cap. 20d4 for a fourth-level slot (or a third-level slot with an extend rod) is a bit on the good side, but ninth-level or not (less if you have an incantrix in your party), 1440d6...=p.