This shows an error. How can I show the charisma modifier, with a minimum of 1, without showing a sign?
It seems fine when I test it. What's the error?
It says
modifier:cha#unsigned@min:1 - Unknown post process type: unsigned@min
Although, that is the previous arrangement I tried and not the most recent one. I guess it just hasn't updated? But it's been over a day at this point.
First make sure that you fully save the homebrew (I assume this is a snippet from a homebrew?) from its main edit page, with the Save Changes button, once you make sure that the snippet itself looks correct. It might take about 20 minutes or so for changes to propagate.
Also, "refresh" your character by bumping it up a level and then back down. Sometimes changes to particular kinds of homebrew don't show up on a character sheet until a level-up or such forces it to reload the data.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
First make sure that you fully save the homebrew (I assume this is a snippet from a homebrew?) from its main edit page, with the Save Changes button, once you make sure that the snippet itself looks correct. It might take about 20 minutes or so for changes to propagate.
Also, "refresh" your character by bumping it up a level and then back down. Sometimes changes to particular kinds of homebrew don't show up on a character sheet until a level-up or such forces it to reload the data.
Okay, I'm guessing you fixed the snippet on the Cryptic Resilience feature, but you also need to edit the Action added by that feature and fix the snippet there.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Okay, I'm guessing you fixed the snippet on the Cryptic Resilience feature, but you also need to edit the Action added by that feature and fix the snippet there.
Of course I was forgetting something that simple! Thanks for your help
Aiyiyiyi... so I was looking through the snippet parser code after seeing a recently-bumped thread talking about {{fixedvalue}}, and well, I found a couple things.
The first is that, at least in the code as it stands now, fixedvalue has nothing to do with "the fixed number from the value or trait." In fact, it expects a parameter, which needs to be a number or something that evaluates to one? So like, {{fixedvalue:2}} and {{fixedvalue:(maxhp/2)}} work, but then so do {{2}} and {{(maxhp/2)}} so I honestly have no idea what purpose fixedvalue is meant to serve.
The second thing I found is that like Scobenes mentioned, there is a function called deriveFormattedTag that strips out whitespace and does other nice things to the raw snippet tag. Unfortunately, the error-checking function throwInvalidSnippetCharacters is sent the raw snippet tag instead of the formatted result and then proceeds to throw an error if it finds whitespace. That's why the snippet parser stopped allowing whitespace even though it used to. This particular problem occurs in the function generateSnippetTag. I wouldn't assume that the fix is going to be simple, at least not without a lot of care and testing before putting it out there live.
Anyway, sorry for the arcane-speak, but that's a bit of what I've been able to determine. (Unfortunately had some health issues get in the way of me accomplishing much of anything useful the past couple weeks...)
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
I am currently trying to work on a Monk subclass, and have a handful of features I would like to use the Monk's Martial Arts Die. I currently have it formatted as { {scalevalue}} (without the space), but it is returning the error 'no scale data available' when I test it on a character sheet. Is there a way to do this?
I believe {{scalevalue}} pulls the number from Fixed Value in the Level Scaling:
And I believe {{scalevalue}} is only available in the feature's snippet, not any action's snippet. I wish they would clarify that on the first post, indicating those functions that have limited application.
I am just not sure what is causing both of those errors. Anyone have an idea what might be causing these?
{{(10+modifier:dex+modifier:int)#unsigned}} seems to be working fine in a custom action. Dunno what your issue is with it. I'm not seeing a spacing issue.
{{10*classlevel}} isn't working in a custom action, but then it wouldn't. I believe it is specific to the features/traits tab and only accessible by homebrew. Which I'm to drunk to look into tonight.
I am just not sure what is causing both of those errors. Anyone have an idea what might be causing these?
{{(10+modifier:dex+modifier:int)#unsigned}} seems to be working fine in a custom action. Dunno what your issue is with it. I'm not seeing a spacing issue.
{{10*classlevel}} isn't working in a custom action, but then it wouldn't. I believe it is specific to the features/traits tab and only accessible by homebrew. Which I'm to drunk to look into tonight.
Somehow the snippet parser is seeing spaces even if it's not in the snippet tag. I wonder if it's from an extension like Beyond20, inserting extra stuff? Very strange.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Does the {{savedc:cha}} cover the save DC of the class in question, or just a charisma save DC? For example, if I were warlock and had an item that increased the warlock save DC by +3, would that be caught by the snippet?
I am just not sure what is causing both of those errors. Anyone have an idea what might be causing these?
{{(10+modifier:dex+modifier:int)#unsigned}} seems to be working fine in a custom action. Dunno what your issue is with it. I'm not seeing a spacing issue.
{{10*classlevel}} isn't working in a custom action, but then it wouldn't. I believe it is specific to the features/traits tab and only accessible by homebrew. Which I'm to drunk to look into tonight.
Somehow the snippet parser is seeing spaces even if it's not in the snippet tag. I wonder if it's from an extension like Beyond20, inserting extra stuff? Very strange.
Could it be that the spaces were inserted before, then removed and the snippet hasn't updated yet? It does take a while to do sometimes
Does the {{savedc:cha}} cover the save DC of the class in question, or just a charisma save DC? For example, if I were warlock and had an item that increased the warlock save DC by +3, would that be caught by the snippet?
It's just the Charisma save DC.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
To post a comment, please login or register a new account.
It seems fine when I test it. What's the error?
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
It says
Although, that is the previous arrangement I tried and not the most recent one. I guess it just hasn't updated? But it's been over a day at this point.
First make sure that you fully save the homebrew (I assume this is a snippet from a homebrew?) from its main edit page, with the Save Changes button, once you make sure that the snippet itself looks correct. It might take about 20 minutes or so for changes to propagate.
Also, "refresh" your character by bumping it up a level and then back down. Sometimes changes to particular kinds of homebrew don't show up on a character sheet until a level-up or such forces it to reload the data.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
can you user snippets on magic items ?
i was trying to remake potion of healing that heal as con modifier than a normal flat 4
It hasn't worked...
Well drat. Please provide the link to the character sheet (url not share link) so someone can take a look.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Snippets aren't available on magic items, no.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
https://www.dndbeyond.com/profile/trapbuilder2/characters/53468489
Okay, I'm guessing you fixed the snippet on the Cryptic Resilience feature, but you also need to edit the Action added by that feature and fix the snippet there.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Of course I was forgetting something that simple! Thanks for your help
Aiyiyiyi... so I was looking through the snippet parser code after seeing a recently-bumped thread talking about {{fixedvalue}}, and well, I found a couple things.
The first is that, at least in the code as it stands now, fixedvalue has nothing to do with "the fixed number from the value or trait." In fact, it expects a parameter, which needs to be a number or something that evaluates to one? So like, {{fixedvalue:2}} and {{fixedvalue:(maxhp/2)}} work, but then so do {{2}} and {{(maxhp/2)}} so I honestly have no idea what purpose fixedvalue is meant to serve.
The second thing I found is that like Scobenes mentioned, there is a function called deriveFormattedTag that strips out whitespace and does other nice things to the raw snippet tag. Unfortunately, the error-checking function throwInvalidSnippetCharacters is sent the raw snippet tag instead of the formatted result and then proceeds to throw an error if it finds whitespace. That's why the snippet parser stopped allowing whitespace even though it used to. This particular problem occurs in the function generateSnippetTag. I wouldn't assume that the fix is going to be simple, at least not without a lot of care and testing before putting it out there live.
Anyway, sorry for the arcane-speak, but that's a bit of what I've been able to determine. (Unfortunately had some health issues get in the way of me accomplishing much of anything useful the past couple weeks...)
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Question:
I am currently trying to work on a Monk subclass, and have a handful of features I would like to use the Monk's Martial Arts Die. I currently have it formatted as { {scalevalue}} (without the space), but it is returning the error 'no scale data available' when I test it on a character sheet. Is there a way to do this?
I believe {{scalevalue}} pulls the number from Fixed Value in the Level Scaling:
And I believe {{scalevalue}} is only available in the feature's snippet, not any action's snippet. I wish they would clarify that on the first post, indicating those functions that have limited application.
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 have two errors that are cropping up:
which is generated from the following snippet:
The second error is as follows:
10 * classlevel - Invalid symbol:
Which was from this snippet:
I am just not sure what is causing both of those errors. Anyone have an idea what might be causing these?
You can't have any spaces within the {{ }}s. (Yes, it's annoying.)
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
{{(10+modifier:dex+modifier:int)#unsigned}} seems to be working fine in a custom action. Dunno what your issue is with it. I'm not seeing a spacing issue.
{{10*classlevel}} isn't working in a custom action, but then it wouldn't. I believe it is specific to the features/traits tab and only accessible by homebrew. Which I'm to drunk to look into tonight.
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)
Somehow the snippet parser is seeing spaces even if it's not in the snippet tag. I wonder if it's from an extension like Beyond20, inserting extra stuff? Very strange.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Does the {{savedc:cha}} cover the save DC of the class in question, or just a charisma save DC? For example, if I were warlock and had an item that increased the warlock save DC by +3, would that be caught by the snippet?
Could it be that the spaces were inserted before, then removed and the snippet hasn't updated yet? It does take a while to do sometimes
It's just the Charisma save DC.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)