Hello everyone, I'm trying to make a class feature that, when casting a spell, will make some kind of energy eruption that would deal half the class level damage (minimum 1) but can't seem to get the snippet to work
This is what i tried : {{(classlevel/2)@min:1}} and {{((classlevel/2)@rounddown)@min:1}} but none worked
Hello everyone, I'm trying to make a class feature that, when casting a spell, will make some kind of energy eruption that would deal half the class level damage (minimum 1) but can't seem to get the snippet to work
This is what i tried : {{(classlevel/2)@min:1}} and {{((classlevel/2)@rounddown)@min:1}} but none worked
Ok trying to create a few custom things and keep getting errors. I dont know if I am missing something or it just will not work the way I was hoping to. I am looking to make a simple (DC = 8 + your Constitution modifier + your proficiency bonus) but the code keeps giving me errors. Current code is: {{(8+(proficiency)+(modifier:con)#unsigned)}} Any help would be great. I have the same ish code around and have not been able to get any of them to work. I can not seem to figure out how to add a few different things like prof and another stat together. Like another bit of code I am having issue making is: {{(proficiency+classlevel)#unsigned}} (this returns (proficiency+classlevel)#unsigned - No class level data available) it is along the same line of adding 2 stats together. I am missing something lol
Ok trying to create a few custom things and keep getting errors. I dont know if I am missing something or it just will not work the way I was hoping to. I am looking to make a simple (DC = 8 + your Constitution modifier + your proficiency bonus) but the code keeps giving me errors. Current code is: {{(8+(proficiency)+(modifier:con)#unsigned)}} Any help would be great. I have the same ish code around and have not been able to get any of them to work. I can not seem to figure out how to add a few different things like prof and another stat together. Like another bit of code I am having issue making is: {{(proficiency+classlevel)#unsigned}} (this returns (proficiency+classlevel)#unsigned - No class level data available) it is along the same line of adding 2 stats together. I am missing something lol
For the first thing, use {{8+proficiency+modifier:con#unsigned}} or alternatively, if this is meant as like a Spell Save DC using your CON modifier, {{savedc:con}}
For the second thing, you can only use the classlevel snippet value in a subclass feature or option.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Well the first one is used for a custom "breath" attack. Making the DC for it. Both are created using a homebrew feat.(FYI That code worked for this thank you). So I think that could be the reason for it returning the errors. I am hoping that I can figure it out. The breath attack I made using a feat due to needing a way to have it use the long rest recharge along with charges. I can not figure a better way to do it besides making a "feat". Any other ways that I am missing? And the second is a real feat that I am trying to make. So no way to pull class lvl for the snippet? It is giving the Hex blades curse as a feat.
Well the first one is used for a custom "breath" attack. Making the DC for it. Both are created using a homebrew feat.(FYI That code worked for this thank you). So I think that could be the reason for it returning the errors. I am hoping that I can figure it out. The breath attack I made using a feat due to needing a way to have it use the long rest recharge along with charges. I can not figure a better way to do it besides making a "feat". Any other ways that I am missing? And the second is a real feat that I am trying to make. So no way to pull class lvl for the snippet? It is giving the Hex blades curse as a feat.
Unless you want to fine tune a race or subclass, a feat is the best way to replicate a function you want on your character sheet. Knowing which snippet codes work in which type of homebrew and which work in which type of snippets is tricky since the OP did not specify some of the nuances of which is which. It makes sense when you think about it that {{classlevel}} is only a subclass option because it's the only homebrew that's level based.
Well the first one is used for a custom "breath" attack. Making the DC for it. Both are created using a homebrew feat.(FYI That code worked for this thank you). So I think that could be the reason for it returning the errors. I am hoping that I can figure it out. The breath attack I made using a feat due to needing a way to have it use the long rest recharge along with charges. I can not figure a better way to do it besides making a "feat". Any other ways that I am missing? And the second is a real feat that I am trying to make. So no way to pull class lvl for the snippet? It is giving the Hex blades curse as a feat.
Unless you want to fine tune a race or subclass, a feat is the best way to replicate a function you want on your character sheet. Knowing which snippet codes work in which type of homebrew and which work in which type of snippets is tricky since the OP did not specify some of the nuances of which is which. It makes sense when you think about it that {{classlevel}} is only a subclass option because it's the only homebrew that's level based.
So it seems that I can not make it work unless I make a custom subclass to add it in? Or just leave out the snippet and make the player do the math lol
So it seems that I can not make it work unless I make a custom subclass to add it in? Or just leave out the snippet and make the player do the math lol
Would {{characterlevel}} work? I haven't tested if that works in a feat though.
Unless the snippet you're working on is some class dependent, then making a homebrew subclass would be the best choice.
Working on some subclasses today and need to wait on the server cache to catch up and decided I wanted to visual explanation of all the snippet codes. I used the same snippet codes in the class feature snippet as well as an Action's snippet. All examples are based on a level 20 Artificer with the following stats:
So the OP says this snippet code is just {{spellattack}} but I've found this is not correct. We need to add the ability modifier to the code to make it work. Here's how it looks on FEATURES & TRAITS and on ACTIONS:
FEATURES & TRAITS
ACTIONS
{{scalevalue}}
Testing scalevalue {{scalevalue}}
Now this one is based off the LEVEL SCALING section of a class feature. Here's how I set this up:
This one is fairly straightforward. Here's how it looks:
FEATURES & TRAITS
ACTIONS
I did not bother to test {{modifier:ability,ability}}. According to OP it will display the higher of the 2 values and I believe that works as intended. You will notice this has the + and - on there. This is one of the snippets that can use #signed and #unsigned
Based on the comment from https://www.dndbeyond.com/forums/dungeons-dragons-discussion/homebrew-house-rules/25930-using-snippet-codes-in-your-homebrew?comment=387 theres really no use for this snippet and scouring the internet today I have not been able to find anyone that could successfully explain how to use this snippet other than that 1 comment which basically says this is useless. As you can see just putting numbers or calculations within brackets serves the exact same purpose. I even tried filling out something in LEVEL SCALING on the feature or LEVEL OVERRIDES on the action. Nothing changed. Here's how this this snippet displays:
FEATURES & TRAITS
ACTIONS
Maybe this is something that works in Races or Spells or Magic Items, I don't know yet. Any insight on this would be helpful.
In my testing I had these separated into a class feature for each one. But these are are pretty simple I just combined them for the purposes of not typing everything over and over again. Here's the results:
FEATURES & TRAITS
ACTIONS
{{limiteduse}}
Testing limiteduse {{limiteduse}}
Like {{scalevalue}} above, we need to fill some stuff out to use this one. We want to fill out the LIMTED USE section of an Action. This section only shows up if you first put something in RESET TYPE on the Action, save it, then go back in to edit it and it'll be at the bottom near LEVEL OVERRIDES. Here's how I set this one up:
Like {{scalevalue}} above, I increased NUMBER OF USES by 1 for every 2nd level. This screen has a few different ways to calculate. I just went with a static number for each level. Here's the results for a level 20 character:
FEATURES & TRAITS
ACTIONS
This is our only example of a snippet that works in the ACTIONS tab but not in the FEATURES & TRAITS tab.
Hi All.. wondering if SKS could help.. i'm a noob at snippets and can generally get the basics, but i have a feat i'm adding htat has the following:
You gain proficiency in the Deception skill. If you already have proficiency in this skill, your proficiency bonus is doubled for any ability check you make using it. You add your proficiency bonus to saving throws against effects that deal psychic damage.
The first sentence doesn't really have any information that requires a snippet code. For the second sentence, you can simply replace "your proficiency bonus" with the snippet for proficiency bonus ( {{proficiency#signed}}). So your total feat snippet might look something like:
You gain proficiency in the Deception skill. If you already have proficiency in this skill, your proficiency bonus is doubled for any ability check you make using it. You add {{proficiency#signed}} to saving throws against effects that deal psychic damage.
Edit: It should also be pointed out that snippets don't provide functionality, they only display data at a glance. If you're instead looking for how to make this feat actually functional, that's an entirely different aspect of homebrewing. This forum post might offer enough information to begin!
Sorry if it's been asked before, but is there a snippet code for simply bolding text? Sorcerer metamagic has the cost in bold like: 1 sorcery point. I thought maybe a {{scalevalue}} would do it, but it doesn't accept text.
Nevermind, found it:
Yes, <b> </b> tags will work, except in custom actions. (They get stripped out when you reload the page.)
Sorry if it's been asked before, but is there a snippet code for simply bolding text? Sorcerer metamagic has the cost in bold like: 1 sorcery point. I thought maybe a {{scalevalue}} would do it, but it doesn't accept text.
Nevermind, found it:
Yes, <b> </b> tags will work, except in custom actions. (They get stripped out when you reload the page.)
Try instead <strong> </strong>, â<b>â is for txt formatting, â<strong>â is for html.
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 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:
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.
Dunno if this has been discussed before but I found a nifty way to disseminate between 2 different values depending on your level. Whether that be displaying the number of times something can be used or a value of what the result will be. If you have 1 value that happens levels 1 through N and another value that happens levels N through 20.
Example 1:
Sometimes a feature lets you do something once per day, but at level 14 you can now do it twice a day. We could use the Level Scaling to accomplish this but what if that's being used to determine something else like changing damage die. Here's some text we're working with:
You can use this feature once. You must finish a short or long rest before you can use it again.
At 14th level, you can use this feature twice between rests.
In my snippet I'm going to use this to clear up space and display the correct value:
You can use this feature {{((classlevel)@max:14-12)@min:1}} time(s), and must finish a short or long rest before you can use it again.
Basically I'm maxing out classlevel at 14, subtracting 12 from that, then saying the minimum value should be 1. So any level 14 and up, subtracts to 2 and any value 13 and below subtracts to 1 or less, but changed to 1.
You'll still need to set up the Limited Use in your Action correctly. The above is just for displaying the correct value in your feature or action's snippet.
Example 2:
Other times we want to dynamically display something else.
... in a 10-foot radius centered on a point ...
Starting at 10th level, ... increases to a 20-foot radius.
This is part of the feature that made me have to figure this out because this same feature changes damage dice. Starts with a d4, changed to a d6 at 10 and a d8 at 14. I had to use Level Scaling to display that correctly, so I had to figure out this snippet to display the correct range:
in a {{((classlevel)@max:10-8)@min:1*10}}-foot radius centered on a point
Basically the same as Example 1 but this time I'm multiplying our result by 10 to get either 10 or 20 to display.
So if you don't want to mess with Level Scaling or are already using it do something else, this would be the method to use if you have one value that changes once during level progression. If you have something that changes more than once, I would seriously encourage the use of the Level Scaling to display the appropriate values in your snippet in {{scalevalue}}.
Hello everyone, I'm trying to make a class feature that, when casting a spell, will make some kind of energy eruption that would deal half the class level damage (minimum 1) but can't seem to get the snippet to work
This is what i tried : {{(classlevel/2)@min:1}} and {{((classlevel/2)@rounddown)@min:1}} but none worked
Some help please ?
Try {{(classlevel/2)@rounddown,min:1}}
{{(classlevel/2)@rounddown,min:1}}Neâmind, I got beat to it.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Awesome, it worked
Thanks ^^
Ok trying to create a few custom things and keep getting errors. I dont know if I am missing something or it just will not work the way I was hoping to. I am looking to make a simple (DC = 8 + your Constitution modifier + your proficiency bonus) but the code keeps giving me errors. Current code is: {{(8+(proficiency)+(modifier:con)#unsigned)}}
Any help would be great. I have the same ish code around and have not been able to get any of them to work. I can not seem to figure out how to add a few different things like prof and another stat together. Like another bit of code I am having issue making is: {{(proficiency+classlevel)#unsigned}} (this returns (proficiency+classlevel)#unsigned - No class level data available) it is along the same line of adding 2 stats together. I am missing something lol
For the first thing, use {{8+proficiency+modifier:con#unsigned}} or alternatively, if this is meant as like a Spell Save DC using your CON modifier, {{savedc:con}}
For the second thing, you can only use the classlevel snippet value in a subclass feature or option.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Well the first one is used for a custom "breath" attack. Making the DC for it. Both are created using a homebrew feat.(FYI That code worked for this thank you). So I think that could be the reason for it returning the errors. I am hoping that I can figure it out. The breath attack I made using a feat due to needing a way to have it use the long rest recharge along with charges. I can not figure a better way to do it besides making a "feat". Any other ways that I am missing? And the second is a real feat that I am trying to make. So no way to pull class lvl for the snippet? It is giving the Hex blades curse as a feat.
Unless you want to fine tune a race or subclass, a feat is the best way to replicate a function you want on your character sheet. Knowing which snippet codes work in which type of homebrew and which work in which type of snippets is tricky since the OP did not specify some of the nuances of which is which. It makes sense when you think about it that {{classlevel}} is only a subclass option because it's the only homebrew that's level based.
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (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
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)
So it seems that I can not make it work unless I make a custom subclass to add it in? Or just leave out the snippet and make the player do the math lol
Would {{characterlevel}} work? I haven't tested if that works in a feat though.
Unless the snippet you're working on is some class dependent, then making a homebrew subclass would be the best choice.
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (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
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)
SNIPPET CODES EXPLORED - SUBCLASSES
Working on some subclasses today and need to wait on the server cache to catch up and decided I wanted to visual explanation of all the snippet codes. I used the same snippet codes in the class feature snippet as well as an Action's snippet. All examples are based on a level 20 Artificer with the following stats:
{{spellattack}}
So the OP says this snippet code is just {{spellattack}} but I've found this is not correct. We need to add the ability modifier to the code to make it work. Here's how it looks on FEATURES & TRAITS and on ACTIONS:
{{scalevalue}}
Now this one is based off the LEVEL SCALING section of a class feature. Here's how I set this up:
Basically starting at class level 3 and every 2 levels the FIXED VALUE increases by 1. There's no calculations with this, it's whatever number you put in the fields. As stated in an earlier comment to this thread (https://www.dndbeyond.com/forums/dungeons-dragons-discussion/homebrew-house-rules/25930-using-snippet-codes-in-your-homebrew?comment=419), {{scalevalue}} will use a combination of DICE COUNT, DIE TYPE, and FIXED VALUE. I only used FIXED VALUE in my example. Here's the results for my level 20 character:
{{modifier}}
This one is fairly straightforward. Here's how it looks:
I did not bother to test {{modifier:ability,ability}}. According to OP it will display the higher of the 2 values and I believe that works as intended. You will notice this has the + and - on there. This is one of the snippets that can use #signed and #unsigned
{{savedc}}
Like {{modifier}} this is fairly straightforward:
{{fixedvalue}}
Based on the comment from https://www.dndbeyond.com/forums/dungeons-dragons-discussion/homebrew-house-rules/25930-using-snippet-codes-in-your-homebrew?comment=387 theres really no use for this snippet and scouring the internet today I have not been able to find anyone that could successfully explain how to use this snippet other than that 1 comment which basically says this is useless. As you can see just putting numbers or calculations within brackets serves the exact same purpose. I even tried filling out something in LEVEL SCALING on the feature or LEVEL OVERRIDES on the action. Nothing changed. Here's how this this snippet displays:
Maybe this is something that works in Races or Spells or Magic Items, I don't know yet. Any insight on this would be helpful.
{{classlevel}} {{characterlevel}} {{proficiency}} {{maxhp}}
In my testing I had these separated into a class feature for each one. But these are are pretty simple I just combined them for the purposes of not typing everything over and over again. Here's the results:
{{limiteduse}}
Like {{scalevalue}} above, we need to fill some stuff out to use this one. We want to fill out the LIMTED USE section of an Action. This section only shows up if you first put something in RESET TYPE on the Action, save it, then go back in to edit it and it'll be at the bottom near LEVEL OVERRIDES. Here's how I set this one up:
Like {{scalevalue}} above, I increased NUMBER OF USES by 1 for every 2nd level. This screen has a few different ways to calculate. I just went with a static number for each level. Here's the results for a level 20 character:
This is our only example of a snippet that works in the ACTIONS tab but not in the FEATURES & TRAITS tab.
{{abilityscore}}
Like {{modifier}} and {{savedc}} above, {{abilityscore}} is fairly straightforward.
So there's my decent enough explanation of snippet codes used in a subclass. Hope this helps.
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (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
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)
Hi All.. wondering if SKS could help.. i'm a noob at snippets and can generally get the basics, but i have a feat i'm adding htat has the following:
You gain proficiency in the Deception skill. If you already have proficiency in this skill, your proficiency bonus is doubled for any ability check you make using it.
You add your proficiency bonus to saving throws against effects that deal psychic damage.
how do i create these?
The first sentence doesn't really have any information that requires a snippet code. For the second sentence, you can simply replace "your proficiency bonus" with the snippet for proficiency bonus ( {{proficiency#signed}} ). So your total feat snippet might look something like:
You gain proficiency in the Deception skill. If you already have proficiency in this skill, your proficiency bonus is doubled for any ability check you make using it. You add {{proficiency#signed}} to saving throws against effects that deal psychic damage.
Edit: It should also be pointed out that snippets don't provide functionality, they only display data at a glance. If you're instead looking for how to make this feat actually functional, that's an entirely different aspect of homebrewing. This forum post might offer enough information to begin!
Sorry if it's been asked before, but is there a snippet code for simply bolding text? Sorcerer metamagic has the cost in bold like: 1 sorcery point. I thought maybe a {{scalevalue}} would do it, but it doesn't accept text.
Nevermind, found it:
My homebrew subclasses (full list here)
(Artificer) Swordmage | Glasswright | (Barbarian) Path of the Savage Embrace
(Bard) College of Dance | (Fighter) Warlord | Cannoneer
(Monk) Way of the Elements | (Ranger) Blade Dancer
(Rogue) DaggerMaster | Inquisitor | (Sorcerer) Riftwalker | Spellfist
(Warlock) The Swarm
Try instead <strong> </strong>, â<b>â is for txt formatting, â<strong>â is for html.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Not sure if this is the right thread,
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)
Can I use decimal points in snippet math?
Ex: If is say {{(1.4+characterlevel*.2)@rounddown}}d8
I think that should be 2d8 at 3rd level, 3d8 at 8th level, 4d8 at 13th level, and 5d8 at 18th level.
Or would {{((14+characterlevel*2)/10)@rounddown}}d8 work better?
Visit (link) â MicroHomebrew, Arcanum Dice, and Ashfaera â (link) Visit
I believe it needs to be whole numbers.
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.
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (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
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)
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
Visit (link) â MicroHomebrew, Arcanum Dice, and Ashfaera â (link) Visit
Dunno if this has been discussed before but I found a nifty way to disseminate between 2 different values depending on your level. Whether that be displaying the number of times something can be used or a value of what the result will be. If you have 1 value that happens levels 1 through N and another value that happens levels N through 20.
Example 1:
Sometimes a feature lets you do something once per day, but at level 14 you can now do it twice a day. We could use the Level Scaling to accomplish this but what if that's being used to determine something else like changing damage die. Here's some text we're working with:
In my snippet I'm going to use this to clear up space and display the correct value:
Basically I'm maxing out classlevel at 14, subtracting 12 from that, then saying the minimum value should be 1. So any level 14 and up, subtracts to 2 and any value 13 and below subtracts to 1 or less, but changed to 1.
You'll still need to set up the Limited Use in your Action correctly. The above is just for displaying the correct value in your feature or action's snippet.
Example 2:
Other times we want to dynamically display something else.
This is part of the feature that made me have to figure this out because this same feature changes damage dice. Starts with a d4, changed to a d6 at 10 and a d8 at 14. I had to use Level Scaling to display that correctly, so I had to figure out this snippet to display the correct range:
Basically the same as Example 1 but this time I'm multiplying our result by 10 to get either 10 or 20 to display.
So if you don't want to mess with Level Scaling or are already using it do something else, this would be the method to use if you have one value that changes once during level progression. If you have something that changes more than once, I would seriously encourage the use of the Level Scaling to display the appropriate values in your snippet in {{scalevalue}}.
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (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
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)