How to put the Sorcerer spell Sorcerous Burst (from the playtest) into the DnD 5e by Roll20 character sheet:  First, create the spell in the spells normally.  Second, in Cantrip Progression put "None".  The reason for this is I built the code with the cantrip progression included already (simpler that way).  Third, in damage put:  {[[round((@{level} + 1) / 6 + 0.5)]]d6!, 1d0cs>1+[[6*(@{spellcasting_ability}[[round((@{level} + 1) / 6 + 0.5)]])]]}kl1 What will this do? This will roll the base dice using the cantrip progression calculation.  Next, it will cap the damage to the maximum of the base dice + number of dice allowed via your spellcasting ability.  Example: If you are level 5 with a +4 charisma modifier you will have a maximum of 2dice plus another 4 dice, meaning a maximum of 36 damage. If the dice rolled exceed the limit it will still cap at the maximum damage.  I used "spellcasting_ability" rather than the Sorcerer's "charisma_mod" because there always seem to be ways to acquire cantrips outside of a class and some of thm include using different spellcasting abilities.  Special note: @{spellcasting_ability} includes a hidden "+" that is why there is no "+" sign after it.