Florian R. said:
When using the "show button for damage rolls options", it seems to break for at least some spells when using heightening with @{current_level}.
It's not really consistent for real spells (I've seen it work mostly), but it seems to break consistently for Focus spells and cantrips.
Focus spells seem to default to current_level=1, while cantrips seem to have no current level designed and show an error that tells a " " value was found were a number was expected. All these spells work fine when I have rolls directly when clicking on the spell - but when I use the "show button for damage roll" option, it breaks the rolls.
Florian, I followed what I could see of your settings from the photos and was not able to duplicate your issue. I normally don't use Damage Rolls as Chat Buttons, I just let it flow with the spell cast, so this was only a quick test.
I don't know if it would make any difference as to what the Roll Damage Button was set at when the spell was first entered? In my case that button was checked off when I entered the spell, and I used it that way for a while. Then in today's testing I checked the button on, tested with no error, off again, tested with no errors, and then back on again, and tested with no errors. I also closed the sheet with Damage Rolls as Chat Buttons checked on, and opened it up again to test; no errors.
I tested both a damaging cantrip, and a damaging focus spell. Sorry I can't offer more insight.
Here is the two formulas I had input into the spells I tested, input in the Damage field. one is for Disrupt Undead, and one is for Heal.
@{current_level}d6cs11cf0
@{current_level}d10cs11cf0
Hope something there helps.
p.s. the cs11cf0 just means that it won't highlight the resultant rolled number as green unless 1 or more dice roll an 11, and won't highlight red unless one or more roll 0. Just a personal preference that I put it because the highlighting annoys me on rolls of multiple dice combined together.