Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Evaluate a calculation in the damage display part of the Attacks and Spellcasting section on the default 5e sheet

Hello, in the picture above there is a custom thing where I am testing things out. The code it begins to display is what is written in the damage section of Chill Touch, but on the main page of the sheet it displays the code for the custom attack but actually evaluates out to a clean 1d8 for chill touch. Is there a way to fix this so that the custom things will show a clean die?
1689896392
Gauss
Forum Champion
Hi Maya,  If I understand you correctly, you'd like to display fdgh's damage the same as Chill Touch.  I am guessing Chill Touch is connected to the Chill Touch spell while "fdgh" is a custom entry.  In short, no you cannot do that. Between the spell Chill Touch and what shows up in the Attacks is a bunch of character sheet code.  Meanwhile, you have directly placed a calculation in the damage, so it will show up like you are seeing. It is not being processed by character sheet code.  In short, without an Mod (API script, a pro level feature) there is not a way to get it to display the damage dice in the damage line. 
So if I made a spell, it'd be possible, but as just a custom entry it shows up exactly as input? If I had something that scaled up the die count on different levels than cantrips I couldn't just make it a spell could I?
1689915625

Edited 1689915686
Gauss
Forum Champion
When it comes to the cantrip formula I think that is on the character sheet coding side, not the spell side. As a result if you did some equation in the spell's damage section it would still be an equation in the damage section of the attack for that spell.  There is no way around it that I have found other than a Mod (API script).