I think you're looking for Tooltips (hyperlinks), not Snippets (formulas for displaying info), so here is a list of all available Tooltips, copied from this post.
Example: [ magicitem]sunblade[/ magicitem] (Without spaces within the [ ] brackets.)
I think you're looking for Tooltips (hyperlinks), not Snippets (formulas for displaying info), so here is a list of all available Tooltips, copied from this post.
Example: [ magicitem]sunblade[/ magicitem] (Without spaces within the [ ] brackets.)
How do I delineate, when dealing with limited uses, when more uses are added as leveling progresses?
Rollback Post to RevisionRollBack
I have been playing DnD for almost two years now. I started dm’ing pretty quickly. It is perhaps my favorite thing to do. I am incredibly interested in reformed theology and religion in general. I am reformed myself. Happy adventuring everyone. Soli Deo Gloria! #WSCone
is there a way of adding a code that tracks certain class feature changes. for example i'm making a monk subclass and I would like to add a feature that uses the martial arts die and adds a modifier. I didn't see a code that would pull that information, do I just need to list what die to use at each level, or is there a code i'm not seeing.
I'm having trouble using {{modifier:str#signed}}, {{modifier:str}}, {{abilityscore:str}}, {{abilityscore:str#signed}} in a homebrew item, and homebrew spell description. Any idea why that would be?
I'm having trouble using {{modifier:str#signed}}, {{modifier:str}}, {{abilityscore:str}}, {{abilityscore:str#signed}} in a homebrew item, and homebrew spell description. Any idea why that would be?
Snippet codes are only functional in "Snippet" fields. These are not present on items or spells.
So when applying a racial ability score bonus. Would it be {{1+abilityscore:con}} for example?
Hi Havoc,
These snippet codes are only used in the snippet fields of features, which is what displays on the character sheet. They do not modify anything on the character sheet.
To give an ability score bonus to Constitution you would make a Racial trait with a modifier that is Bonus -> Constitution ability score, and set the fixed value to 1.
Just a note: I've just made the following calculation in my snippet: {{classlevel + 2*modifier:cha#unsigned}} The result was 110 (for a level 20 Sorcerer with a +5 cha modifier) instead of the assumed 30. It seems as if it were calculating (classlevel+2)*(modifier:cha) instead of (classlevel)+(2*modifier:cha). I fixed the issue by placing brackets but I wanted to point out the error in the evaluation of this formula.
I love the possibility to add formulas into text for easy assessing of the current values! Keep up the good work!
Can someone please help me figure out why this calculation results in NaN when used in the snippet of a sublcass feature concerning a range? It should be
15 (ft.) up to level 9
30 (ft.) for levels 10 to 13
45 (ft.) for levels 14 to 18
60 (ft.) from level 19 onward
The calculation phrase itself should be: {{ 15 + (( (0 - 9 + classlevel) / 4.5)@roundup * 15)@min:0 }}
Can someone please help me figure out why this calculation results in NaN when used in the snippet of a sublcass feature concerning a range? It should be
15 (ft.) up to level 9
30 (ft.) for levels 10 to 13
45 (ft.) for levels 14 to 18
60 (ft.) from level 19 onward
The calculation phrase itself should be: {{ 15 + (( (0 - 9 + classlevel) / 4.5)@roundup * 15)@min:0 }}
I think this is moreso a case that what you're trying to create is a bit more complex expression than the snippets allow.
Usually for effects that change at higher levels its written as the main feature, and appended at the end would be something like: [10th] 30 ft. [14th] 45 ft. [19th] 60 ft.
Can someone please help me figure out why this calculation results in NaN when used in the snippet of a sublcass feature concerning a range? It should be
15 (ft.) up to level 9
30 (ft.) for levels 10 to 13
45 (ft.) for levels 14 to 18
60 (ft.) from level 19 onward
The calculation phrase itself should be: {{ 15 + (( (0 - 9 + classlevel) / 4.5)@roundup * 15)@min:0 }}
I think this is moreso a case that what you're trying to create is a bit more complex expression than the snippets allow.
Usually for effects that change at higher levels its written as the main feature, and appended at the end would be something like: [10th] 30 ft. [14th] 45 ft. [19th] 60 ft.
Thanks for the feedback. That is coincidentally how it is written in the full feature description. I guess for the time being I'll handle it like that in the snippet as well.
Curiously a similar expression in one other subclass feature works like a charm: {{(classlevel/2)@roundup+(modifier:cha)@roundup#unsigned@min:1}}
I figured out (through trial and error) that the expression I mentioned first returns a NaN when attempting to round the divided sum, but not when simply rounding a divided value. Seems to be a problem with multiple sets of parentheses, not sure why though.
I have an ability that multiplies by 1 at 3rd level, 2 at 7th, and 3 at 11th.
The snippet solution I worked out looks like this ((((classlevel+1)/4)@rounddown)@max:3)*abilityscore:dex,str. It's pretty inelegant and on the character sheet, I get an error reading "((((classlevel+1)/4)@rounddown)@max:3)*abilityscore:dex,str - Unknown chunk type: vel"
Am I asking too much of the snippet? Am I using too many parenthesis? Is there a more elegant way to do this?
"The relevant equation is: Knowledge = power = energy = matter = mass; a good bookshop is just a genteel Black Hole that knows how to read." - Terry Pratchett
I have an ability that multiplies by 1 at 3rd level, 2 at 7th, and 3 at 11th.
The snippet solution I worked out looks like this ((((classlevel+1)/4)@rounddown)@max:3)*abilityscore:dex,str. It's pretty inelegant and on the character sheet, I get an error reading "((((classlevel+1)/4)@rounddown)@max:3)*abilityscore:dex,str - Unknown chunk type: vel"
Am I asking too much of the snippet? Am I using too many parenthesis? Is there a more elegant way to do this?
According to my experience that is sadly at the moment too complex for those snippets. I recently at least found a solution for my snippet that might also help you:
I added a Level Scaling list to the mentioned class feature and am just using that. Looks something like this:
Level
Dice
Fixed Value
Description
Edit
1
15
range 15 feet
Edit | Delete
10
30
range 30 feet
Edit | Delete
14
45
range 45 feet
Edit | Delete
19
60
range 60 feet
Edit | Delete
You can then reference that value with {{scalevalue}}. In your case I guess you need to just add values for levels 1(?), 3, 7 and 11; with that maybe {{scalevalue*(abilityscore:dex,str)}} works?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I think you're looking for Tooltips (hyperlinks), not Snippets (formulas for displaying info), so here is a list of all available Tooltips, copied from this post.
Thank you, that's it exactly, my bad for my misunderstanding
My Homebrew | Background | Feats | Magic Items | Races | Spells | Subclass | Homebrewery
To see my homebrew without the limitations of the DDB rules, check out my content on Hombrewery
How do I delineate, when dealing with limited uses, when more uses are added as leveling progresses?
I have been playing DnD for almost two years now. I started dm’ing pretty quickly. It is perhaps my favorite thing to do. I am incredibly interested in reformed theology and religion in general. I am reformed myself. Happy adventuring everyone. Soli Deo Gloria! #WSCone
is there a way of adding a code that tracks certain class feature changes. for example i'm making a monk subclass and I would like to add a feature that uses the martial arts die and adds a modifier. I didn't see a code that would pull that information, do I just need to list what die to use at each level, or is there a code i'm not seeing.
I'm having trouble using {{modifier:str#signed}}, {{modifier:str}}, {{abilityscore:str}}, {{abilityscore:str#signed}} in a homebrew item, and homebrew spell description. Any idea why that would be?
Snippet codes are only functional in "Snippet" fields. These are not present on items or spells.
So when applying a racial ability score bonus. Would it be {{1+abilityscore:con}} for example?
Hi Havoc,
These snippet codes are only used in the snippet fields of features, which is what displays on the character sheet. They do not modify anything on the character sheet.
To give an ability score bonus to Constitution you would make a Racial trait with a modifier that is Bonus -> Constitution ability score, and set the fixed value to 1.
Understood, finally figured it out!! thank you!!!
Sorry if this is a repeated question, but is there a snippet for spell save, or would I just use {{8+spellattack}} ?
Hi Ironcrest,
In the list from the original post you have:
This would generate the character's Save DC, and you select which ability the Save DC is derived from.
Hope that helps!
Just a note:
I've just made the following calculation in my snippet:
{{classlevel + 2*modifier:cha#unsigned}}
The result was 110 (for a level 20 Sorcerer with a +5 cha modifier) instead of the assumed 30.
It seems as if it were calculating (classlevel+2)*(modifier:cha) instead of (classlevel)+(2*modifier:cha).
I fixed the issue by placing brackets but I wanted to point out the error in the evaluation of this formula.
I love the possibility to add formulas into text for easy assessing of the current values! Keep up the good work!
Man I feel totally blind. Thank you!
Just to make sure that I understand, if I wanted the feature's save to be 5+ warlock save, the snippet would be {{5+savedc:cha}} right?
Yep, nailed it!
Can someone please help me figure out why this calculation results in NaN when used in the snippet of a sublcass feature concerning a range? It should be
The calculation phrase itself should be: {{ 15 + (( (0 - 9 + classlevel) / 4.5)@roundup * 15)@min:0 }}
I think this is moreso a case that what you're trying to create is a bit more complex expression than the snippets allow.
Usually for effects that change at higher levels its written as the main feature, and appended at the end would be something like: [10th] 30 ft. [14th] 45 ft. [19th] 60 ft.
Thanks for the feedback. That is coincidentally how it is written in the full feature description. I guess for the time being I'll handle it like that in the snippet as well.
Curiously a similar expression in one other subclass feature works like a charm: {{(classlevel/2)@roundup+(modifier:cha)@roundup#unsigned@min:1}}
I figured out (through trial and error) that the expression I mentioned first returns a NaN when attempting to round the divided sum, but not when simply rounding a divided value. Seems to be a problem with multiple sets of parentheses, not sure why though.
I have an ability that multiplies by 1 at 3rd level, 2 at 7th, and 3 at 11th.
The snippet solution I worked out looks like this ((((classlevel+1)/4)@rounddown)@max:3)*abilityscore:dex,str. It's pretty inelegant and on the character sheet, I get an error reading "((((classlevel+1)/4)@rounddown)@max:3)*abilityscore:dex,str - Unknown chunk type: vel"
Am I asking too much of the snippet? Am I using too many parenthesis? Is there a more elegant way to do this?
Tooltips | Snippet Code | How to Homebrew on D&D Beyond | Subclass Guide | Feature Roadmap
Astromancer's Homebrew Assembly
"The relevant equation is: Knowledge = power = energy = matter = mass; a good bookshop is just a genteel Black Hole that knows how to read." - Terry Pratchett
According to my experience that is sadly at the moment too complex for those snippets. I recently at least found a solution for my snippet that might also help you:
I added a Level Scaling list to the mentioned class feature and am just using that. Looks something like this:
You can then reference that value with {{scalevalue}}. In your case I guess you need to just add values for levels 1(?), 3, 7 and 11; with that maybe {{scalevalue*(abilityscore:dex,str)}} works?