Thanks for the clarification @IamSposta. Sucks that {{ scalevalue }} doesn't work with races (would explain why I couldn't find anything on it), but doing some math to emulate that would be an awesome workaround.
And amazing work on the math for the first part @Mairondil!! That would have taken me a minute to compile. I'll see if I can figure something out for the second snippet, and if I do figure it out I'll post it for anyone else interested on it.
That'll get us to levels 1-4: 0, levels 5-9: 1, and levels 10 and up: 2.
Just need to figure out how to turn a 0 into a 6, a 1 into a 10, and a 2 into a 12. If it was a d8, d10, and d12, we could multiply the above result by 2 and add 8. But since we're going from a d6 to a d10, to a d12, it really does complicate things. Still working through this though.
Each custom action is a different level. Here are the snippets for each (I replace characterlevel with the actual number so I can see all of the results simultaneously)
Yes, sorry about that! I went to edit in a more streamlined version and copied and pasted the wrong snippet code. I have a habit of keeping a running list as I work so I don't accidentally ruin something and have to start over!
@Halfwing The code works!! Thank you for getting it together for me :D
@Mairondil I really appreciate the help you gave in all this! I admit the second portion was complicated to say the least, but the first portion of the code was an absolute godsend. Thanks again :D
No problem. I love snippet challenges and I'm glad work was just slow enough I could put some thought in this. I'm actually looking forward to dissecting @Halfwing's final version later on after work.
{{((characterlevel/5)@rounddown*4)@max:6+6}} will get you a value of 6 from levels 1–4, 10 from levels 5–9, and 12 from levels 10+.
This is just so elegant and simple. I was getting way too complicated, but then I was at work during a rare slow time and could only test things in spurts.
{{((characterlevel/5)@rounddown*4)@max:6+6}} will get you a value of 6 from levels 1–4, 10 from levels 5–9, and 12 from levels 10+.
This is just so elegant and simple. I was getting way too complicated, but then I was at work during a rare slow time and could only test things in spurts.
I did for a second, too! First pass was “ugly, but works.” Then I took your train of thought and expanded on it, then simplified twice to get down to the current version.
After my first pass at the second, simpler method, I realized I had some terms that could be combined. Then after combining, realized I had an unnecessary outer multiplicative term, so I just distributed to pare it down further!
Well, <em>text</em> will make it italicized. I’m not sure that underlined or struck through will work (in fact I’m pretty sure they don’t), but if they will it should be <u>text</u> and <del>text</del> respectively.
Don't speculate, just try it! You can add custom actions to your character sheet, complete with snippets, which makes it a lot easier to test them, just remember to set an activation type (otherwise they may not appear). I just tried the following and all of these codes appear to work:
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.
Thanks for the clarification @IamSposta. Sucks that {{ scalevalue }} doesn't work with races (would explain why I couldn't find anything on it), but doing some math to emulate that would be an awesome workaround.
And amazing work on the math for the first part @Mairondil!! That would have taken me a minute to compile. I'll see if I can figure something out for the second snippet, and if I do figure it out I'll post it for anyone else interested on it.
Really appreciate the help, you two!!! :D
Back of the napkin calculations so far:
That'll get us to levels 1-4: 0, levels 5-9: 1, and levels 10 and up: 2.
Just need to figure out how to turn a 0 into a 6, a 1 into a 10, and a 2 into a 12. If it was a d8, d10, and d12, we could multiply the above result by 2 and add 8. But since we're going from a d6 to a d10, to a d12, it really does complicate things. Still working through this though.
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)
There are plenty of ways to get the proper result! But queueing off of Mairondil’s start (above), you could do something like the following:
{{((characterlevel/5)@rounddown*4)@max:6+6}} will get you a value of 6 from levels 1–4, 10 from levels 5–9, and 12 from levels 10+.
I'm getting different results:
Each custom action is a different level. Here are the snippets for each (I replace characterlevel with the actual number so I can see all of the results simultaneously)
The top line is what I've been working on. Two different snippets to see if I can get a number that can be calculated together
The bottom line is @Halfwing. I'm getting not accurate results at levels 4 and 9. Haven't checked any others other than what's in the screenshot.
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)
You must have corrected it from when I first saw it a few minutes ago. Works flawlessly. I'll have to study how you put this together.
YOU. ARE. DA. MAN!
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)
Yes, sorry about that! I went to edit in a more streamlined version and copied and pasted the wrong snippet code. I have a habit of keeping a running list as I work so I don't accidentally ruin something and have to start over!
@Halfwing The code works!! Thank you for getting it together for me :D
@Mairondil I really appreciate the help you gave in all this! I admit the second portion was complicated to say the least, but the first portion of the code was an absolute godsend. Thanks again :D
Happy to help, and I knew the cavalry would ride in to the rescue with the right calculations. Those two are amazeballs when it comes to snippets.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
No problem. I love snippet challenges and I'm glad work was just slow enough I could put some thought in this. I'm actually looking forward to dissecting @Halfwing's final version later on after work.
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)
This is just so elegant and simple. I was getting way too complicated, but then I was at work during a rare slow time and could only test things in spurts.
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 did for a second, too! First pass was “ugly, but works.” Then I took your train of thought and expanded on it, then simplified twice to get down to the current version.
After my first pass at the second, simpler method, I realized I had some terms that could be combined. Then after combining, realized I had an unnecessary outer multiplicative term, so I just distributed to pare it down further!
This is interesting but, can this be used for like checks like a code that add to your perception?
No, for that you need Modifiers. Snippets don’t actually “do” anything, they just display calculated information.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Ah i see
is there a way to reference the spellcasting ability modifier rather than a specific ability?
Nope. All you have is {{modifier:int}}, {{modifier:wis}}, or {{modifier:cha}}
You also have {{spellattack:int}}, {{spellattack:wis}}, or {{spellattack:cha}} for spell attacks, but even then it's depends on which one you choose.
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)
Sorry if this has been discussed before, but is there a list of the known ways to add font adjustments to snippet code?
So, <strong>text</strong> will make text bold, do we know what makes italic, underline, and
cross through?EDIT: If there is, and ms stormknight is still active on the forums, it would be cool if they could be added to the main post.
Well, <em>text</em> will make it italicized. I’m not sure that underlined or struck through will work (in fact I’m pretty sure they don’t), but if they will it should be <u>text</u> and <del>text</del> respectively.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Don't speculate, just try it! You can add custom actions to your character sheet, complete with snippets, which makes it a lot easier to test them, just remember to set an activation type (otherwise they may not appear). I just tried the following and all of these codes appear to work:
<b>Bold</b> <i>italic</i> <u>underlined</u> <del>strikethrough</del> <strong>strong</strong> <em>emphasis</em>
Resulting in the following snippet:
Bold italic underlined
struckstrong emphasisFormer 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.
Sometimes <b> & <i> cause formatting funk, I always recommend using <strong> & <em> instead.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting