Couldn't quite find an answer, sorry if I repeat a question:
Is there a way for a snippet code relating to limited use features to display the number of remaining uses/expended uses from that trait? Thanks in advance!
Couldn't quite find an answer, sorry if I repeat a question:
Is there a way for a snippet code relating to limited use features to display the number of remaining uses/expended uses from that trait? Thanks in advance!
No. But the checkboxes on the Action or Trait will show that information.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Thanks for the quick reply, thats what I thought. Perhaps I may bother you for one last thing :)
I'm creating a subclass feature that grants access to a particular spell, but with modified conditions. I'd love it if when they click on the name of the spell, specifically in the snippet of that sub-feature, that it opens up the spell description in the navigator. I wouldn't dream of asking how to apply my special conditions to the description of the spell itself, but I have no problem specifying those in the snipped or the full descriptions.
To be clear what I'm trying to achieve, here's the snippet code I'm using:
You can expend <strong>3</strong> soul points to cast <em>Animate Dead</em> as an action, with a duration of {{scalevalue}} hours.
What you want to do is impossible. However, you can add those specific conditions to the spell where you add the spell to the subclass feature in the field labeled “additional description.”
I need help. I'm trying to make a snippet that starts at +1 and goes to +2. For some reason, on the 9th level character I have it on, it says +3. Here is the snippet:
Maybe I am being dense, but how a would I program a feature like a rage. Hypothetically, if I wanted a monk that could get a battle meditation with a limited number of used and had a base attack damage increase like rage how could I have two level dependent variables that that doesn’t fit a per level formula?
To actually get the check boxes to display on the character sheet and generate the rollable requires you to add an Action to your feature and program that correctly. Snippets don’t actually “do” anything, they just display calculated/predesignated data. If you want the snippets to also display those numbers, you could make use of the {{scalevalue}} and/or {{limiteduse}} snippets, or you could use a complex snippet calculation. You can get help with those snippets here: (https://www.dndbeyond.com/forums/dungeons-dragons-discussion/homebrew-house-rules/25930-using-snippet-codes-in-your-homebrew).
Hey, I little stumped with a snippet issue and it would help to have a set of fresh eyes, since I recently figured out you can do a whole lot more with snippets then I originally thought.
I'm making a trait that has a range scaling of:
20 feet at 1st level.
30 feet at 5th level.
40 feet at 9th level.
50 feet at 13th level.
60 feet at 17th level.
I know I could just use {{10*proficiency}}, but there is a way in the campaign this trait is being used in that can raise your proficiency bonus, so I would like to make it scale independently of it. Currently I've been trying out many different snippet codes and this is what I have so far: <strong>{{2+((1+characterlevel)/4)@rounddown*10}}</strong> <strong>feet</strong> and it's not working. Does anyone here see what my mistake is and how I can improve this code?
I know I could just use {{10*proficiency}}, but there is a way in the campaign this trait is being used in that can raise your proficiency bonus, so I would like to make it scale independently of it. Currently I've been trying out many different snippet codes and this is what I have so far: <strong>{{2+((1+characterlevel)/4)@rounddown*10}}</strong> <strong>feet</strong> and it's not working. Does anyone here see what my mistake is and how I can improve this code?
I think the following code should do what you want:
{{(((characterlevel-1)/4)+2)@rounddown*10}}
You needed to subtract 1 to get a nice division by 4, then add 2 to get it to start at 20 feet, then a @rounddown to get neat increments of 10 (the @rounddown is the part I always struggle with finding the right place to put it).
In future, to test your snippets quickly you can add them as a custom action to a character sheet, this avoids the long delays in editing homebrew since the snippet code for a custom action updates immediately. Some snippet keywords won't work there but you can either substitute in something similar temporarily, or even enter test values (this is useful for anything level scaling related), just remember to put the correct keyword back once you're done!
Former D&D Beyond Customer of six years: With the axing of piecemeal purchasing, lack of meaningful development, and toxic moderation the site isn't worth paying for anymore. I remain a free user only until my groups are done migrating from DDB, and if necessary D&D, after which I'm done. There are better systems owned by better companies out there.
I have unsubscribed from all topics and will not reply to messages. My homebrew is now 100% unsupported.
I know I could just use {{10*proficiency}}, but there is a way in the campaign this trait is being used in that can raise your proficiency bonus, so I would like to make it scale independently of it. Currently I've been trying out many different snippet codes and this is what I have so far: <strong>{{2+((1+characterlevel)/4)@rounddown*10}}</strong> <strong>feet</strong> and it's not working. Does anyone here see what my mistake is and how I can improve this code?
I think the following code should do what you want:
{{(((characterlevel-1)/4)+2)@rounddown*10}}
You needed to subtract 1 to get a nice division by 4, then add 2 to get it to start at 20 feet, then a @rounddown to get neat increments of 10 (the @rounddown is the part I always struggle with finding the right place to put it).
In future, to test your snippets quickly you can add them as a custom action to a character sheet, this avoids the long delays in editing homebrew since the snippet code for a custom action updates immediately. Some snippet keywords won't work there but you can either substitute in something similar temporarily, or even enter test values (this is useful for anything level scaling related), just remember to put the correct keyword back once you're done!
I know {{classlevel}} doesn't work in a custom action.
When testing something scaled at multiple levels, make multiple custom actions. If you put 5-10 snippets in the same custom action, you may have some longer load times. If you put more than 10 snippets in the same custom, you run the risk of locking up your character sheet and loosing all of your previous testing and have to reload the page.
Is there anyway to use a snippet to pull the damage info for an equipped weapon? This is the sentence that I am trying to modify the damage into a snippet:
Everything within range of your melee attack must make a Dexterity save (DC=8+proficiency bonus+str mod), taking weapon + str modifier damage and being knocked prone on a failure.
Is there anyway to use a snippet to pull the damage info for an equipped weapon? This is the sentence that I am trying to modify the damage into a snippet:
Everything within range of your melee attack must make a Dexterity save (DC=8+proficiency bonus+str mod), taking weapon + str modifier damage and being knocked prone on a failure.
Snippets can't pull in weapon damage die information. Everything else from your text could be done in a snippet.
Yes you can. I used {{characterlevel}} in my example because {{classlevel}} only works in a subclass:
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)
Couldn't quite find an answer, sorry if I repeat a question:
Is there a way for a snippet code relating to limited use features to display the number of remaining uses/expended uses from that trait?
Thanks in advance!
No. But the checkboxes on the Action or Trait will show that information.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Thanks for the quick reply, thats what I thought. Perhaps I may bother you for one last thing :)
I'm creating a subclass feature that grants access to a particular spell, but with modified conditions. I'd love it if when they click on the name of the spell, specifically in the snippet of that sub-feature, that it opens up the spell description in the navigator. I wouldn't dream of asking how to apply my special conditions to the description of the spell itself, but I have no problem specifying those in the snipped or the full descriptions.
To be clear what I'm trying to achieve, here's the snippet code I'm using:
You can expend <strong>3</strong> soul points to cast <em>Animate Dead</em> as an action, with a duration of {{scalevalue}} hours.
Halp? :D
What you want to do is impossible. However, you can add those specific conditions to the spell where you add the spell to the subclass feature in the field labeled “additional description.”
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Much obliged!
Happy to help.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
I need help. I'm trying to make a snippet that starts at +1 and goes to +2. For some reason, on the 9th level character I have it on, it says +3. Here is the snippet:
{{1+(classlevel/2)@rounddown,max:2}}
Nevermind, I realized what I did wrong
👍
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Maybe I am being dense, but how a would I program a feature like a rage. Hypothetically, if I wanted a monk that could get a battle meditation with a limited number of used and had a base attack damage increase like rage how could I have two level dependent variables that that doesn’t fit a per level formula?
To actually get the check boxes to display on the character sheet and generate the rollable requires you to add an Action to your feature and program that correctly. Snippets don’t actually “do” anything, they just display calculated/predesignated data. If you want the snippets to also display those numbers, you could make use of the {{scalevalue}} and/or {{limiteduse}} snippets, or you could use a complex snippet calculation. You can get help with those snippets here: (https://www.dndbeyond.com/forums/dungeons-dragons-discussion/homebrew-house-rules/25930-using-snippet-codes-in-your-homebrew).
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Again, snippets don’t actually “do” anything, you need to create an Action that adds a new unarmed strike and program it to do that.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
how do you do snippets for resistances to specific damages? trying to make a magic artifact.
Again, snippets don’t actually “do” anything, you need to add a Modifier to your magic item.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Hey, I little stumped with a snippet issue and it would help to have a set of fresh eyes, since I recently figured out you can do a whole lot more with snippets then I originally thought.
I'm making a trait that has a range scaling of:
I know I could just use {{10*proficiency}}, but there is a way in the campaign this trait is being used in that can raise your proficiency bonus, so I would like to make it scale independently of it. Currently I've been trying out many different snippet codes and this is what I have so far: <strong>{{2+((1+characterlevel)/4)@rounddown*10}}</strong> <strong>feet</strong> and it's not working. Does anyone here see what my mistake is and how I can improve this code?
Sincerely, Non-stop Homebrewer.
I think the following code should do what you want:
You needed to subtract 1 to get a nice division by 4, then add 2 to get it to start at 20 feet, then a @rounddown to get neat increments of 10 (the @rounddown is the part I always struggle with finding the right place to put it).
In future, to test your snippets quickly you can add them as a custom action to a character sheet, this avoids the long delays in editing homebrew since the snippet code for a custom action updates immediately. Some snippet keywords won't work there but you can either substitute in something similar temporarily, or even enter test values (this is useful for anything level scaling related), just remember to put the correct keyword back once you're done!
Former D&D Beyond Customer of six years: With the axing of piecemeal purchasing, lack of meaningful development, and toxic moderation the site isn't worth paying for anymore. I remain a free user only until my groups are done migrating from DDB, and if necessary D&D, after which I'm done. There are better systems owned by better companies out there.
I have unsubscribed from all topics and will not reply to messages. My homebrew is now 100% unsupported.
I know {{classlevel}} doesn't work in a custom action.
When testing something scaled at multiple levels, make multiple custom actions. If you put 5-10 snippets in the same custom action, you may have some longer load times. If you put more than 10 snippets in the same custom, you run the risk of locking up your character sheet and loosing all of your previous testing and have to reload the page.
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)
Is there anyway to use a snippet to pull the damage info for an equipped weapon? This is the sentence that I am trying to modify the damage into a snippet:
Everything within range of your melee attack must make a Dexterity save (DC=8+proficiency bonus+str mod), taking weapon + str modifier damage and being knocked prone on a failure.
Snippets can't pull in weapon damage die information. Everything else from your text could be done in a 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)