How do I use the snippet code to do something that is Charisma + 1 D X (where X is 4 at 1-9 , 6 at 10-13 and 8 at 14-20?
I can put together something that will display "1d4+3" in the snippet at character level 2 if your Charisma modifier is +3, but please note that this is just for display. To have that be used as like a damage roll, or a limited number of uses, you need to do something beyond a snippet - create an Action.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Hey i'm making a homebrew feat called unlucky and I don't know how to add points like the feat lucky has can you help me out?
Snippet codes won't actually help here, as they merely provide data at a glance.
Your best bet when trying to emulate something like this is to create a homebrew copy of the official product to see how it's implemented. In this case, you need to attach an Action to the feat, give it a Reset Type, and add Limited Use metadata to that action.
There are no built-in snippet codes, but you can get the appropriate result with some clever math:
{{(classlevel/2)@roundup,max:5}}
Note that this will only work if included as part of a warlock subclass. There is no way to reference specific class levels outside of that class's subclasses, so a feat or magic item e.g. will not be able to include this snippet.
I can't get the snippet codes to work at all, it shows up besides exactly what you type (like what people write in these responses). What am I missing?
Also, snippet codes only work in snippet fields, not in description fields.
What does this mean? I tried insert code block and that didn't work?
If you're in a text box that has the Code Block button, you're not in the right kind of text box. Snippet codes only work in text boxes labeled "Snippet"
Also, snippet codes only work in snippet fields, not in description fields.
What does this mean? I tried insert code block and that didn't work?
If you can click “insert code block” at all then that means you are in a “description” field, snippets will not work in fields labeled “description.” You must utilize the fields labeled as “snippet” fields. (“Snippet” fields do not exist for magic items.)
I finally figured it out thanks to your help! I didnt realize there was a section that said "snippet" for these codes and as you said kept putting it in description.
It really sucks snippets aren't a part of weapons or spells, as I think having "codes" for saving throws or whatnot would be incredibly helpful. As it is now, because of only having a description, the homebrewer is forced to look at the character gaining the weapon/spell, and manually enter a modifier/save dc/proficiency/etc., and keep it updated every session. As opposed to having a relatively easily maintained creation via snippet codes.
I can put together something that will display "1d4+3" in the snippet at character level 2 if your Charisma modifier is +3, but please note that this is just for display. To have that be used as like a damage roll, or a limited number of uses, you need to do something beyond a snippet - create an Action.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Hey i'm making a homebrew feat called unlucky and I don't know how to add points like the feat lucky has can you help me out?
Snippet codes won't actually help here, as they merely provide data at a glance.
Your best bet when trying to emulate something like this is to create a homebrew copy of the official product to see how it's implemented. In this case, you need to attach an Action to the feat, give it a Reset Type, and add Limited Use metadata to that action.
okay cool thx I appreciate the help.
Is there a way to use snippets to display your current spell casting level? specifically for warlocks?
There are no built-in snippet codes, but you can get the appropriate result with some clever math:
Note that this will only work if included as part of a warlock subclass. There is no way to reference specific class levels outside of that class's subclasses, so a feat or magic item e.g. will not be able to include this snippet.
sweet thanks!
I can't get the snippet codes to work at all, it shows up besides exactly what you type (like what people write in these responses). What am I missing?
Are you taking the spaces out? For example, the code in Halfwing’s post should be entered like this: “{{(classlevel/2)@roundup,max:5}}”
Also, snippet codes only work in snippet fields, not in description fields.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
What does this mean? I tried insert code block and that didn't work?
If you're in a text box that has the Code Block button, you're not in the right kind of text box. Snippet codes only work in text boxes labeled "Snippet"
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)
If you can click “insert code block” at all then that means you are in a “description” field, snippets will not work in fields labeled “description.” You must utilize the fields labeled as “snippet” fields. (“Snippet” fields do not exist for magic items.)
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
I finally figured it out thanks to your help! I didnt realize there was a section that said "snippet" for these codes and as you said kept putting it in description.
Is there a snippet code for armor class?
There is not, I'm afraid.
It really sucks snippets aren't a part of weapons or spells, as I think having "codes" for saving throws or whatnot would be incredibly helpful. As it is now, because of only having a description, the homebrewer is forced to look at the character gaining the weapon/spell, and manually enter a modifier/save dc/proficiency/etc., and keep it updated every session. As opposed to having a relatively easily maintained creation via snippet codes.
Is there a way to apply a monks martial arts die using these snippets?
Snippets don’t actually “do” anything, they just display information.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
This doesn't answer my question.
Nope. There is no way as off now to apply a 1d6 as a snippet, not that I know off.