Hey I'm making a subclass for wizard where at lvl 3 they get a d6 resource that increases to a d8 at lvl 5, a d10 at lvl 11 and a d12 at 17. How would the snippet code go thanks
Hey I'm making a subclass for wizard where at lvl 3 they get a d6 resource that increases to a d8 at lvl 5, a d10 at lvl 11 and a d12 at 17. How would the snippet code go thanks
Snippets just display info calculated off of a handful or variables. What you're asking for isn't pulling from any variable. You can put 2d6+1d10 in a snippet field and it'll display appropriately.
@Mairondil Am I ******* this up, or do snippets just not work on homebrew items?
I have an item that gives an ability, and I'm trying to force the Save DC to calculate. it would be savedc:characterlevel+cha+proficiency and another dc for a different effect which is savedc:characterlevel+str+cha+proficiency yet I can't seem to get them to work no matter what I do. I even got rid of characterlevel and just tried a flat "10" in case character level wouldn't work just like how class level only works on subclass features (though character level SHOULD work, just tie it to whoever has the item... but I don't know if the backend has that written up in the code). There's another effect that kicks in at HP of 75% or less, so I put in {{maxhp*(3/4)}} so the player can just always see the exact number instead of needing to math it out, but that doesn't seem to work either.
I've tried all kinds of variations to see if I'm just doing it wrong or what but... no dice.
Maybe I'm just not writing the language right somehow, but I've tried:
and several other ways just to see if it was a language problem... am I missing something stupid? I haven't messed with snippets in a long time and might have forgotten something about the formatting.
Rollback Post to RevisionRollBack
The "Judge My Homebrew" thread, a place to share your homebrew and get comments on it from people before you publish!
@Mairondil Am I ******* this up, or do snippets just not work on homebrew items?
I have an item that gives an ability, and I'm trying to force the Save DC to calculate. it would be savedc:characterlevel+cha+proficiency and another dc for a different effect which is savedc:characterlevel+str+cha+proficiency yet I can't seem to get them to work no matter what I do. I even got rid of characterlevel and just tried a flat "10" in case character level wouldn't work just like how class level only works on subclass features (though character level SHOULD work, just tie it to whoever has the item... but I don't know if the backend has that written up in the code). There's another effect that kicks in at HP of 75% or less, so I put in {{maxhp*(3/4)}} so the player can just always see the exact number instead of needing to math it out, but that doesn't seem to work either.
I've tried all kinds of variations to see if I'm just doing it wrong or what but... no dice.
Maybe I'm just not writing the language right somehow, but I've tried:
and several other ways just to see if it was a language problem... am I missing something stupid? I haven't messed with snippets in a long time and might have forgotten something about the formatting.
"savedc" is for calculating a saving throw DC based on a specific ability score using the normal calculation method (which is 10 + proficiency bonus + ability modifier, and doesn't incorporate a character level or class level). You just give it the ability score to use; you don't need to do the calculation yourself. To calculate it based on charisma, it would be:
{{savedc:cha}}
If you want to calculate a save DC using this alternative method you've described, then you don't use the "savedc" snippet, you just do the calculation:
@Mairondil Am I ******* this up, or do snippets just not work on homebrew items?
I have an item that gives an ability, and I'm trying to force the Save DC to calculate. it would be savedc:characterlevel+cha+proficiency and another dc for a different effect which is savedc:characterlevel+str+cha+proficiency yet I can't seem to get them to work no matter what I do. I even got rid of characterlevel and just tried a flat "10" in case character level wouldn't work just like how class level only works on subclass features (though character level SHOULD work, just tie it to whoever has the item... but I don't know if the backend has that written up in the code). There's another effect that kicks in at HP of 75% or less, so I put in {{maxhp*(3/4)}} so the player can just always see the exact number instead of needing to math it out, but that doesn't seem to work either.
I've tried all kinds of variations to see if I'm just doing it wrong or what but... no dice.
Maybe I'm just not writing the language right somehow, but I've tried:
and several other ways just to see if it was a language problem... am I missing something stupid? I haven't messed with snippets in a long time and might have forgotten something about the formatting.
There is no place to use snippet codes on homebrew items.
If you're wanting to use a snippet code in a subclass, species, feat, or a custom action, wagnarokkr's suggestion should point you in the right direction.
Okay, I've made a homebrew action: Action type is General, Constitution as it's ability modifier, 1d10 as the dice count/value, a fixed value of +1, and Display as Attack.
Whenever I click the button on my character sheet for it to roll digital dice, it doesn't add the Constitution modifier to the roll. Can anybody help me out?
@Mairondil Am I ******* this up, or do snippets just not work on homebrew items?
I have an item that gives an ability, and I'm trying to force the Save DC to calculate. it would be savedc:characterlevel+cha+proficiency and another dc for a different effect which is savedc:characterlevel+str+cha+proficiency yet I can't seem to get them to work no matter what I do. I even got rid of characterlevel and just tried a flat "10" in case character level wouldn't work just like how class level only works on subclass features (though character level SHOULD work, just tie it to whoever has the item... but I don't know if the backend has that written up in the code). There's another effect that kicks in at HP of 75% or less, so I put in {{maxhp*(3/4)}} so the player can just always see the exact number instead of needing to math it out, but that doesn't seem to work either.
I've tried all kinds of variations to see if I'm just doing it wrong or what but... no dice.
Maybe I'm just not writing the language right somehow, but I've tried:
and several other ways just to see if it was a language problem... am I missing something stupid? I haven't messed with snippets in a long time and might have forgotten something about the formatting.
"savedc" is for calculating a saving throw DC based on a specific ability score using the normal calculation method (which is 10 + proficiency bonus + ability modifier, and doesn't incorporate a character level or class level). You just give it the ability score to use; you don't need to do the calculation yourself. To calculate it based on charisma, it would be:
{{savedc:cha}}
If you want to calculate a save DC using this alternative method you've described, then you don't use the "savedc" snippet, you just do the calculation:
Though I will stress again that that's not how saving throw DCs typically work.
And remember that snippet code like this only works in snippet fields, not in description fields.
Awesome, thanks! It's definitely not a "typical" DC yeah. It's a special thing I'm making for a high level (15+) Curse of Strahd campaign so... let's just say it's fully intended to be quite broken.
I'm looking at this calculation stuff, and my brain isn't wanting to brain, what would you put for an species ability that starts at 1d4, then at 5th lvl goes to 1d6, 11th lvl to 1d8, and 17th lvl to 1d10?
Edit: Nevermind, got some rest and figured it out!
lol Okay, I’ll take that. But folks should follow Mairondil too, they’re very informative.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Hey I'm making a subclass for wizard where at lvl 3 they get a d6 resource that increases to a d8 at lvl 5, a d10 at lvl 11 and a d12 at 17. How would the snippet code go thanks
Try <strong>d</strong>{{6+(classlevel/5)@max:1,rounddown*2+(classlevel/11)@rounddown*2+(classlevel/17)@rounddown*2}}
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)
thanks it worked
is it possible to make a snippet do 2d6+1d10?
Snippets just display info calculated off of a handful or variables. What you're asking for isn't pulling from any variable. You can put 2d6+1d10 in a snippet field and it'll display appropriately.
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)
@Mairondil Am I ******* this up, or do snippets just not work on homebrew items?
I have an item that gives an ability, and I'm trying to force the Save DC to calculate. it would be savedc:characterlevel+cha+proficiency and another dc for a different effect which is savedc:characterlevel+str+cha+proficiency yet I can't seem to get them to work no matter what I do. I even got rid of characterlevel and just tried a flat "10" in case character level wouldn't work just like how class level only works on subclass features (though character level SHOULD work, just tie it to whoever has the item... but I don't know if the backend has that written up in the code). There's another effect that kicks in at HP of 75% or less, so I put in {{maxhp*(3/4)}} so the player can just always see the exact number instead of needing to math it out, but that doesn't seem to work either.
I've tried all kinds of variations to see if I'm just doing it wrong or what but... no dice.
Maybe I'm just not writing the language right somehow, but I've tried:
{{savedc:characterlevel+str+cha+proficiency}}
(DC {{savedc:10+cha+proficiency}})
(DC={{10+modifier:cha}})
and several other ways just to see if it was a language problem... am I missing something stupid? I haven't messed with snippets in a long time and might have forgotten something about the formatting.
The "Judge My Homebrew" thread, a place to share your homebrew and get comments on it from people before you publish!
"savedc" is for calculating a saving throw DC based on a specific ability score using the normal calculation method (which is 10 + proficiency bonus + ability modifier, and doesn't incorporate a character level or class level). You just give it the ability score to use; you don't need to do the calculation yourself. To calculate it based on charisma, it would be:
{{savedc:cha}}
If you want to calculate a save DC using this alternative method you've described, then you don't use the "savedc" snippet, you just do the calculation:
{{characterlevel+modifier:str+modifier:cha+proficiency}}
Though I will stress again that that's not how saving throw DCs typically work.
And remember that snippet code like this only works in snippet fields, not in description fields.
pronouns: he/she/they
There is no place to use snippet codes on homebrew items.
If you're wanting to use a snippet code in a subclass, species, feat, or a custom action, wagnarokkr's suggestion should point you in the right direction.
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)
Okay, I've made a homebrew action: Action type is General, Constitution as it's ability modifier, 1d10 as the dice count/value, a fixed value of +1, and Display as Attack.
Whenever I click the button on my character sheet for it to roll digital dice, it doesn't add the Constitution modifier to the roll. Can anybody help me out?
Sincerely, Non-stop Homebrewer.
Awesome, thanks! It's definitely not a "typical" DC yeah. It's a special thing I'm making for a high level (15+) Curse of Strahd campaign so... let's just say it's fully intended to be quite broken.
The "Judge My Homebrew" thread, a place to share your homebrew and get comments on it from people before you publish!
I'm looking at this calculation stuff, and my brain isn't wanting to brain, what would you put for an species ability that starts at 1d4, then at 5th lvl goes to 1d6, 11th lvl to 1d8, and 17th lvl to 1d10?
Edit: Nevermind, got some rest and figured it out!