3-level Transmutation
You extinguish all fires in a 30 foot cube centred on a point you choose within range. Any nonmagical fire is put out automatically, as are magical flames created by a spell of 3rd level or lower. For each spell of 4th level or higher which is creating flame within this area, make an ability check using your spellcasting ability. The DC equals 10 + the spell's level. On a successful check, the spell that created the fire ends.
Fire created by a magical item is also doused, and the item becomes unable to produce fire for 1d4 hours. Artifacts are immune to this effect.
Fire-based creatures in the spell's area, such as fire elementals, must make a Constitution saving throw, taking 8d6 cold damage on a failed save or half as much on a success.
When you cast this spell using a spell slot of 4th level or higher, the cube's size increases by 5 feet for each slot level above 3rd.