You can test simple stuff like this directly on the character sheet. Replace {{characterlevel}} with actual numbers and put a bunch of snippets in a custom action.
Set the Activation Type to Action. I used this snippet:
This way you can check math and formatting issues without having to wait for the notorious server cache to catch up to you.
Thankyou so much! That's a very useful tool to remember! And it looks like my math works out correctly!
If anyone else wants an easy way to translate this sort of feature for their own designs, I used this equation generator to figure out the numbers. The @rounddown function is very helpful for getting it to work out when you have factions between levels.
Thanks for adding the <strong> too
Nice, you two! Since yeah, the snippet parser doesn't support decimal values in snippet codes.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Is there a way to add snippets that relate to a specific class (blood hunter) into a homebrew creature.
Long story made short.. Im adding a creature (which I have already designed as a character) to my campaign so that I can use it in the combat encounters, however I have found that I am unable to add the little tweaks that make the character (blood hunter)
You can add special information/actions related to a class as text within the relevant Description fields for a creature, but currently there isn't a way to track limited-use mechanics.
And to be clear, snippets don't actually do anything mechanically, they can just display information in a nicer format.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Is there a snippet command to make a custom item counter as magical? I got a homebrew weapon with an enchantment, but when I use it on avrae it doesn't count it as a magic weapon for purposes of stuff like damage resistance/immunity.
No snippet codes currently exist that pulls in a character's speed. The only available snippet codes are the ones listed in the first post of this thread:
{{spellattack}} - your spell "to hit" {{scalevalue}} - a class-specific value, such as Rage Damage for a barbarian {{modifier:str}} - a modifier for an ability score (str, dex, con, int, wis, cha) {{modifier:str,dex}} - returns the higher value of the two ability score modifiers (str, dex, con, int, wis, cha) {{savedc:str}} - generates your Save DC using the specified ability modifier (str, dex, con, int, wis, cha) {{fixedvalue}} - the fixed number from the feature or trait {{classlevel}} - level in the contextual class {{characterlevel}} - total character level {{proficiency}} - your proficiency bonus {{maxhp}} - your maximum hit points {{limiteduse}} - total number of uses for the contextual feature or trait {{abilityscore:str}} - the actual ability score (change to the ability required from str, dex, con, int, wis, cha.
I am trying to use snippet to program an ability based on proficiency bonuses for a number of dice. Framed by the rollable and /rollable tags, I have the following:
When I look in the Features of a character page, it shows the text as "2d4' properly (for a 3rd level character), but only the "d4" is underlined. I could click on the "d4" twice to make it happen, but figured to make it better and one-shot. Am I missing anything?
I am trying to use snippet to program an ability based on proficiency bonuses for a number of dice. Framed by the rollable and /rollable tags, I have the following:
When I look in the Features of a character page, it shows the text as "2d4' properly (for a 3rd level character), but only the "d4" is underlined. I could click on the "d4" twice to make it happen, but figured to make it better and one-shot. Am I missing anything?
Thanks
DDB doesn't have the capability to put rollables in snippets, as far as I have seen, so I assume you're using an extension like Beyond20. You'd need to ask the maintainer of that about this.
Is there a way that when you cose for a damage roll on a spell to use a chaos table to determine damage types and bonus effects?
Snippets aren't available for spells, and don't actually do anything beyond display stuff like "You can can use this ability 3 times" instead of "You can use this ability a number of times equal to your proficiency bonus" to make the actual numbers clearer to players.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Hey everyone, this is probably the wrong place to ask, but this is the only thread I found even remotely dealing with code/snippet/script. I'm looking for the coding for monster stat blocks for dice rolling. Does anyone know where I can find that?
Hey everyone, this is probably the wrong place to ask, but this is the only thread I found even remotely dealing with code/snippet/script. I'm looking for the coding for monster stat blocks for dice rolling. Does anyone know where I can find that?
So with this... How do I hide it from the character sheet. Because I'm trying to make a homebrew race, but I look at the trait and end up seeing the code.
Snippet codes are simply a way to display a variable with some minor calculations. If you're wanting to hide the text and snippet code, just delete the relevant text from whichever feature's snippet text box you're wanting to change/hide.
If you're trying to hide or remove an entire racial feature from a homebrew copy of an official race, that would be something different and you would just delete that entire feature.
Nice, you two! Since yeah, the snippet parser doesn't support decimal values in snippet codes.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
You can add special information/actions related to a class as text within the relevant Description fields for a creature, but currently there isn't a way to track limited-use mechanics.
And to be clear, snippets don't actually do anything mechanically, they can just display information in a nicer format.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Awesome. Thanks for the info Naruhoodie
Is there a snippet command to make a custom item counter as magical? I got a homebrew weapon with an enchantment, but when I use it on avrae it doesn't count it as a magic weapon for purposes of stuff like damage resistance/immunity.
There is no snippet field on magic items so there’s nowhere else put a snippet.
Snippets don’t actually do anything, they just display a calculated or referenced number.
We can only make magic items, not basic equipment. Anything you make is automatically “magical.”
Try this Modifier:
Leave everything else blank. After you save the Modifier, re-save the item itself and wait 20 mins before checking it.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Is there a way to include speed in snippit code? Specifically walking speed, but other speeds would be useful too
No snippet codes currently exist that pulls in a character's speed. The only available snippet codes are the ones listed in the first post of this thread:
Is there a snippet code that allows you to calculate minutes? Example: you can cast this up to a number of minutes equal to your Wisdom modifier.
A snippet isn't going to affect anything mechanically, and spells don't have snippets (I'm guessing this is for a spell.)
But for your example, you could have a subclass feature, racial trait, or feat that uses the following in its snippet field for informative purposes:
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Didn't think about it that way. Thanks!
Hello all,
I am trying to use snippet to program an ability based on proficiency bonuses for a number of dice. Framed by the rollable and /rollable tags, I have the following:
{{proficiency}}d4;{"diceNotation":"{{proficiency}}d4","rollType":"heal"}
When I look in the Features of a character page, it shows the text as "2d4' properly (for a 3rd level character), but only the "d4" is underlined. I could click on the "d4" twice to make it happen, but figured to make it better and one-shot. Am I missing anything?
Thanks
Is there a way that when you cose for a damage roll on a spell to use a chaos table to determine damage types and bonus effects?
DDB doesn't have the capability to put rollables in snippets, as far as I have seen, so I assume you're using an extension like Beyond20. You'd need to ask the maintainer of that about this.
Snippets aren't available for spells, and don't actually do anything beyond display stuff like "You can can use this ability 3 times" instead of "You can use this ability a number of times equal to your proficiency bonus" to make the actual numbers clearer to players.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Hey everyone, this is probably the wrong place to ask, but this is the only thread I found even remotely dealing with code/snippet/script. I'm looking for the coding for monster stat blocks for dice rolling. Does anyone know where I can find that?
There's this one: https://www.dndbeyond.com/forums/dungeons-dragons-discussion/homebrew-house-rules/106856-adding-rollable-tags-to-your-homebrew-monsters-for
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Thank you!
So with this... How do I hide it from the character sheet. Because I'm trying to make a homebrew race, but I look at the trait and end up seeing the code.
Snippet codes are simply a way to display a variable with some minor calculations. If you're wanting to hide the text and snippet code, just delete the relevant text from whichever feature's snippet text box you're wanting to change/hide.
If you're trying to hide or remove an entire racial feature from a homebrew copy of an official race, that would be something different and you would just delete that entire feature.
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)
So when it comes to multiplying proficiency bonus would it be {{2*proficiency}}?
G Slayer105
Correct.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)