You're certain you're entering the snippets in the Snippet box and not Descriptions box? And you're sure you're reading it on the sheet (where snippets show) not from the sidebar (which shows full description when you click the feature)?
And you're allowing 20 or so mins for updates?
Ahh! That worked, I forgot snippet vs description and only had it in description (thinking snippet was "the short version". Thanks!
Common mistake. Glad ya got it working!
Rollback Post to RevisionRollBack
Click ✨ HERE ✨ For My Youtube Videos featuring Guides, Tips & Tricks for using D&D Beyond. Need help with Homebrew? Check out ✨ thisFAQ/Guide thread ✨ by IamSposta.
Thank you for the help, but adding the + did nothing. This is how it is: {{ ( ( classlevel/2 )+modifier:cha ) }}. I did try leaving a space on both sides as well, but that also did not work.
All of the snippet codes you're using work as intended if you have the codes in a the right spot. I just pasted what you had in a custom action. Character is +3 CON and +3 PB.
Can you use this for homebrew monsters or is it only Feats, Subclasses or Race??
Monsters don't have a Snippet field, so no.
Snippets are the short versions of feats/subclasses/species features/etc. that get put on the character sheet, and since that's not something you can do with a monster, monsters don't have snippets.
But what specifically is it you want to do with it on a homebrew monster? There may be another way.
Solved it. Counterintuitively, wrapping the expression in parentheses was the issue. Here is the functioning snippet: {{4+(classlevel/5)@max:1,rounddown*2+(classlevel/11)@max:1,rounddown*2+(classlevel/17)@max:1,rounddown*2}}
Divide by 5 , round down and then multiply by 5. this you only get a higher score each interval of 5.
For example: Every {{ characterlevel / 5 @rounddown * 5 }} ft. you can ... .
Just adding this here so other folks searching like I was can find it. Big thanks to the above posts, they helped me puzzle this the rest of the way together.
I was trying to use a snippet to show a modified speed (ex; "as a bonus action, you can raise your speed to X"), related to content surrounding Intelligence scores affecting your speed in the astral plane/astral sea. My intention was just to add the character's existing speed to their Intelligence modifier, but rounded up to the nearest increment of 5.
This has proved to be a pain in the neck, but I did get it working.
{{(modifier:int/5)@roundup*5+speed}}
If the character's INT modifier is above 0, this will result in, functionally, the same thing as {{speed+5}}. If it is 0 or less, it will functionally just be {{speed+0}}. (Should be, anyways. So far so good on my end.)
The nested math is the biggest nuisance here, but the fundamental thing I learned that got it working was that, while you can put some math in parenthesis, the @roundup type additions have to be free-floating at the end and cannot be contained inside parenthesis. This is counterintuitive, because it logically makes sense that you would be writing it {{(modifier:int/5@roundup)*5+speed}} but that doesn't work.
If you wanted the +5 speed boost to only kick in if the modifier was a perfect +5 (or higher), then I suppose you'd do the same thing but replace @roundup with @rounddown, I just don't foresee that being a normal use case.
Tried to include the best descriptive language here so folks can search for it easier. Anyways, shout out to setting up conceptually simple homebrew taking up like 4 hours of my prep time as DM because this site willfully chooses to be a headache and not develop bare minimum QoL tools ✨ Good luck gamers
In practice: tooltip adds 0 when INT is +0 (left), tooltip adds 5 when INT is +1 or more
Common mistake. Glad ya got it working!
Click ✨ HERE ✨ For My Youtube Videos featuring Guides, Tips & Tricks for using D&D Beyond.
Need help with Homebrew? Check out ✨ this FAQ/Guide thread ✨ by IamSposta.
It worked lovely, thanks.
Where are you putting your snippet codes:
All of the snippet codes you're using work as intended if you have the codes in a the right spot. I just pasted what you had in a custom action. Character is +3 CON and +3 PB.
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)
can someone potentially help me with a sum/ equation for 2x your class level + wisdom modifier? Thank you! :)
Try:
{{(classlevel*2)+modifier:wis}}
As noted in the first post, classlevel is only valid in the context of a subclass feature.
pronouns: he/she/they
It worked, btw. Thank you and sorry for the late reply.
Can you use this for homebrew monsters or is it only Feats, Subclasses or Race??
Monsters don't have a Snippet field, so no.
Snippets are the short versions of feats/subclasses/species features/etc. that get put on the character sheet, and since that's not something you can do with a monster, monsters don't have snippets.
But what specifically is it you want to do with it on a homebrew monster? There may be another way.
pronouns: he/she/they
Just adding this here so other folks searching like I was can find it. Big thanks to the above posts, they helped me puzzle this the rest of the way together.
I was trying to use a snippet to show a modified speed (ex; "as a bonus action, you can raise your speed to X"), related to content surrounding Intelligence scores affecting your speed in the astral plane/astral sea. My intention was just to add the character's existing speed to their Intelligence modifier, but rounded up to the nearest increment of 5.
This has proved to be a pain in the neck, but I did get it working.
{{(modifier:int/5)@roundup*5+speed}}If the character's INT modifier is above 0, this will result in, functionally, the same thing as
{{speed+5}}. If it is 0 or less, it will functionally just be{{speed+0}}. (Should be, anyways. So far so good on my end.)The nested math is the biggest nuisance here, but the fundamental thing I learned that got it working was that, while you can put some math in parenthesis, the
@rounduptype additions have to be free-floating at the end and cannot be contained inside parenthesis. This is counterintuitive, because it logically makes sense that you would be writing it{{(modifier:int/5@roundup)*5+speed}}but that doesn't work.If you wanted the +5 speed boost to only kick in if the modifier was a perfect +5 (or higher), then I suppose you'd do the same thing but replace
@roundupwith@rounddown, I just don't foresee that being a normal use case.Tried to include the best descriptive language here so folks can search for it easier. Anyways, shout out to setting up conceptually simple homebrew taking up like 4 hours of my prep time as DM because this site willfully chooses to be a headache and not develop bare minimum QoL tools ✨ Good luck gamers
In practice: tooltip adds 0 when INT is +0 (left), tooltip adds 5 when INT is +1 or more