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.
I don't see the point in making a snippet for AC because the number is right there on your sheet. If the snippet doesn't match because of whatever reason, then it would be confusing.
Unless you're making a new thing that calculates your base AC from whatever combination of stuff. But choosing which combination of options has the potential to be complicated and you only can choose one so sometimes you have to manually do it considering the limitations of the character sheet.
I don't see the point in making a snippet for AC because the number is right there on your sheet. If the snippet doesn't match because of whatever reason, then it would be confusing.
Why would it account for a shield? That wasn't what was being asked. Even the actual features don't do that, so why bother in these examples when "and with a shield" wasn't part of the question?
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.
Referring someone to a snippet calculation that doesn't account for any outside influences has a good potential to be confusing. Imagine seeing 16 in the snippet code from whatever homebrew this is but your calculated AC on your character sheet is actually 18 because you're wearing a shield or whatever other things you've added to your PC over character progression.
I'm not saying that example ways to calculate a base AC would be a bad idea. Perhaps it's race that gives an AC for DEX+INT or a subclass that gives DEX+STR. Using a snippet to say your base dex is #, with whatever stipulations might apply, is a very good idea.
I still don't see why this matters. You can just click your AC and it will show what calculation method was used to account for your current AC. If part of it is unarmored defense, this would be shown there.
I have to do this all the time in the games I run. If a players AC changes unexpectedly, I just click the AC to find the calculation method.
Referring someone to a snippet calculation that doesn't account for any outside influences has a good potential to be confusing. Imagine seeing 16 in the snippet code from whatever homebrew this is but your calculated AC on your character sheet is actually 18 because you're wearing a shield or whatever other things you've added to your PC over character progression.
I'm not saying that example ways to calculate a base AC would be a bad idea. Perhaps it's race that gives an AC for DEX+INT or a subclass that gives DEX+STR. Using a snippet to say your base dex is #, with whatever stipulations might apply, is a very good idea.
I get why you don't like. I'm the same.
This is not what they asked for. They wanted to know "how" to make the snippet. So I said how. That's it. They didn't ask for opinions or if they "should" or whatever. They asked only what the code would be. So I told them. End of.
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.
So I'm trying to get a snippet to work for displaying hemocraft die correctly in a blood hunter subclass and the scalevalue result keeps returning "has level scale, but no numeric value available" this is the snippet I have "...you gain {{(scalevalue)+(classlevel)}} temp..." and the level scale is 1d4, 1d6, 1d8, and 1d10 at levels 1, 5, 11, and 17. I've been trying all sorts of different outputs with mostly no luck, the only one that's worked having been just {{scalevalue}}.
Also for when I need the scale value to be 1d8 at one point in a snippet and 2d8 at another point in the same one, is there any way I can make that work or should I just say "roll two of your hemocraft die" instead of using snippet code there.
So I'm trying to get a snippet to work for displaying hemocraft die correctly in a blood hunter subclass and the scalevalue result keeps returning "has level scale, but no numeric value available" this is the snippet I have "...you gain {{(scalevalue)+(classlevel)}} temp..." and the level scale is 1d4, 1d6, 1d8, and 1d10 at levels 1, 5, 11, and 17. I've been trying all sorts of different outputs with mostly no luck, the only one that's worked having been just {{scalevalue}}.
I don't believe you can add scalevalue and classlevel together, especially if scalevalue is a string (1d4, 1d6, etc). Inside the brackets, it wants to add them together and I don't believe snippets can add strings and numbers this way.
Also for when I need the scale value to be 1d8 at one point in a snippet and 2d8 at another point in the same one, is there any way I can make that work or should I just say "roll two of your hemocraft die" instead of using snippet code there.
Same thing for this. If scalevalue was a number, you could multiply by 2, but as a string I don't believe it can be done.
Couldn't you do a roundup, something similar to Level/4, rounded up. That would give you "1" at levels 1-4, "2" at levels 5-8, "3" at levels 9-12 and so on.
Not tested but "30 + 10 every level after 1st" is the same as the character level, times 10 ft, plus 20 ft. So 1st would be 30, 2nd 40, etc.
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.
Having issue with this snippet code. I am trying to add in the formulated numbers, but I keep getting this error and I cannot figure out why.
(Character Sheet)
You gain back hit points equal to classlevel - No class level data available. You regain hit points at the start of each of your turns if you are between 3.5 and 1 hit point and are not in direct sunlight. If you take radiant damage or piercing damage by a wooden weapon, this trait does not function at the start of your next turn. You may use this ability (classlevel)+(modifier:con)+(proficiency) - No class level data available times.
The text in red comes up as errors.
Homebrew Creator Code)
You gain back hit points equal to {{classlevel}}. You regain hit points at the start of each of your turns if you are between {{(maxhp/2)@rounddown}} and 1 hit point and are not in direct sunlight. If you take radiant damage or piercing damage by a wooden weapon, this trait does not function at the start of your next turn. You may use this ability {{(classlevel)+(modifier:con)+(proficiency)}} times.
I'm trying to compile a snippet, but I keep getting errors... Can anyone help me? Basically I need to make the Character Level + Charisma Modifier Rounded down (so no 7.5 or 3.5 thing) and remove the + "sign".
Additionally, you gain hit points equal to (characterlevel+modifier:cha)/2@rounddown#unsigned - Value modifier cannot be used at current location: @rounddown. Additionally, you gain hit points equal to (characterlevel+modifier:cha)/2#unsigned@rounddown - Unknown post process type: unsigned@rounddown. Additionally, you gain hit points equal to ((characterlevel+modifier:cha)/2)#unsigned@rounddown - Unknown post process type: unsigned@rounddown.
Adding paranthesis only results in other kind of errors... it seems to me that the problem is with the multiple calculators, but I'm not proficient with them :/
Mage Armor: {{13+abilityscore:dex#unsigned}}
Barb Unarmoured Defence: {{abilityscore:dex+abilityscore:con#unsigned}}
Monk Unarmoured Defence: {{abilityscore:dex+abilityscore:wis#unsigned}}
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.
This doesn't account for using a shield.
I don't see the point in making a snippet for AC because the number is right there on your sheet. If the snippet doesn't match because of whatever reason, then it would be confusing.
Unless you're making a new thing that calculates your base AC from whatever combination of stuff. But choosing which combination of options has the potential to be complicated and you only can choose one so sometimes you have to manually do it considering the limitations of the character sheet.
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)
Why would it account for a shield? That wasn't what was being asked. Even the actual features don't do that, so why bother in these examples when "and with a shield" wasn't part of the question?
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.
Referring someone to a snippet calculation that doesn't account for any outside influences has a good potential to be confusing. Imagine seeing 16 in the snippet code from whatever homebrew this is but your calculated AC on your character sheet is actually 18 because you're wearing a shield or whatever other things you've added to your PC over character progression.
I'm not saying that example ways to calculate a base AC would be a bad idea. Perhaps it's race that gives an AC for DEX+INT or a subclass that gives DEX+STR. Using a snippet to say your base dex is #, with whatever stipulations might apply, is a very good idea.
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)
I still don't see why this matters. You can just click your AC and it will show what calculation method was used to account for your current AC. If part of it is unarmored defense, this would be shown there.
I have to do this all the time in the games I run. If a players AC changes unexpectedly, I just click the AC to find the calculation method.
I get why you don't like. I'm the same.
This is not what they asked for. They wanted to know "how" to make the snippet. So I said how. That's it. They didn't ask for opinions or if they "should" or whatever. They asked only what the code would be. So I told them. End of.
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.
So I'm trying to get a snippet to work for displaying hemocraft die correctly in a blood hunter subclass and the scalevalue result keeps returning "has level scale, but no numeric value available" this is the snippet I have "...you gain {{(scalevalue)+(classlevel)}} temp..." and the level scale is 1d4, 1d6, 1d8, and 1d10 at levels 1, 5, 11, and 17. I've been trying all sorts of different outputs with mostly no luck, the only one that's worked having been just {{scalevalue}}.
Also for when I need the scale value to be 1d8 at one point in a snippet and 2d8 at another point in the same one, is there any way I can make that work or should I just say "roll two of your hemocraft die" instead of using snippet code there.
I don't believe you can add scalevalue and classlevel together, especially if scalevalue is a string (1d4, 1d6, etc). Inside the brackets, it wants to add them together and I don't believe snippets can add strings and numbers this way.
Same thing for this. If scalevalue was a number, you could multiply by 2, but as a string I don't believe it can be done.
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 you do a roundup, something similar to Level/4, rounded up. That would give you "1" at levels 1-4, "2" at levels 5-8, "3" at levels 9-12 and so on.
If I were to use a "for each level above 1st" in a snippet code, would the code be {{30+characterlevel-1}}?
Can you give more of a description for the feature you're trying to do a snippet tag for? And what sort of homebrew it's for (race, subclass, feat)?
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
its one where you have telepathy for a range of 30 feet, and that range increases by 10 feet for each level you have above 1st. it is a race.
{{(characterlevel*10)+20#unsigned}}
Not tested but "30 + 10 every level after 1st" is the same as the character level, times 10 ft, plus 20 ft. So 1st would be 30, 2nd 40, etc.
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.
Tested it myself, that should do the job.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
thanks
{{((characterlevel-1)*10)+30#unsigned}} should also do it, I think
Having issue with this snippet code. I am trying to add in the formulated numbers, but I keep getting this error and I cannot figure out why.
(Character Sheet)
The text in red comes up as errors.
Homebrew Creator Code)
What am I doing wrong?
Is it for a race, feat, or subclass? {{classlevel}} only works for subclasses, otherwise you need {{characterlevel}}.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
I'm trying to compile a snippet, but I keep getting errors...
Can anyone help me? Basically I need to make the Character Level + Charisma Modifier Rounded down (so no 7.5 or 3.5 thing) and remove the + "sign".
Additionally, you gain hit points equal to (characterlevel+modifier:cha)/2@rounddown#unsigned - Value modifier cannot be used at current location: @rounddown.
Additionally, you gain hit points equal to (characterlevel+modifier:cha)/2#unsigned@rounddown - Unknown post process type: unsigned@rounddown.
Additionally, you gain hit points equal to ((characterlevel+modifier:cha)/2)#unsigned@rounddown - Unknown post process type: unsigned@rounddown.
Adding paranthesis only results in other kind of errors... it seems to me that the problem is with the multiple calculators, but I'm not proficient with them :/
You need one more set of parentheses for the order of operations before rounding down (in your first example, it’s trying to round down the number 2):
Additionally, you gain {{((characterlevel+modifier:cha)/2)@rounddown#unsigned}} HP.
I’ve also shortened the text to how it would appear in an official snippet.