That’s because it doesn’t make any sense as a snippet. What are the 15 and 30 meant to represent? What if the calculations result in partial numbers? What you’ve written there is “(character level divided by 10) random 15, (character level divided by 12) random 30”and the system doesn’t understand. Frankly I don’t get it either. However, if you can better explain the intention behind the snippet I will be more than happy to help.
Ahhh okay, so not sure how it works then. I intended to have it display the number of feet as it changes at certain levels e.g 15ft at level 10 and increased to 30ft at level 12
trying to scale a Feat action's distance with the character's level tried using this snippet:
"you can use this ability within {{(characterlevel/10)15,(characterlevel/12)30}} ft "
"you can use this ability within {{(characterlevel:10)15,(characterlevel:12)30}} ft "
"you can use this ability within {{(characterlevel10)15,(characterlevel12)30}} ft "
But keep getting NaN
ability starts at level 10
Any suggestions?
That’s because it doesn’t make any sense as a snippet. What are the 15 and 30 meant to represent? What if the calculations result in partial numbers? What you’ve written there is “(character level divided by 10) random 15, (character level divided by 12) random 30”and the system doesn’t understand. Frankly I don’t get it either. However, if you can better explain the intention behind the snippet I will be more than happy to help.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Ahhh okay, so not sure how it works then. I intended to have it display the number of feet as it changes at certain levels e.g 15ft at level 10 and increased to 30ft at level 12
Okay. Hmm. Not personally sure how exactly would be the best way to express that with a snippet. Lemme phone a friend for you. Hang on.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
{{15+(characterlevel/12)@rounddown*15}}
Here's a better breakdown:
If Level where change occurs is 10 or lower, you need to add ,max:1 to the snippet modifier section.
How to: Replace DEX in AC | Jump & Suffocation stats | Spell & class effect buff system | Wild Shape effect system | Tool Proficiencies as Custom Skills | Spells at higher levels explained | Superior Fighting/Martial Adept Fix | Snippet Codes Explored - Subclasses | Snippet Math Theory | Homebrew Weapons Explained
My: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading WORKAROUND FIXED!!! (TY Jay_Lane for original instructions)
thank you! That is so helpful cheers for breaking it down as well !!