I've been trying to add another extra roll onto my Imps attack:
Sting (Bite in Beast Form). Melee Weapon Attack: [_ rollable]+5;{"diceNotation":"1d20+5","rollType":"to hit","rollAction":"Sting"}[/rollable_] to hit, reach 5 ft., one target. Hit: 5 [rollable_](1d4 + 3);{"diceNotation":"1d4+3","rollType":"damage","rollAction":"Sting","rollDamageType":"piercing"}[/rollable_] piercing damage, and the target must make a DC 11 Constitution saving throw, taking 10 [rollable_](3d6);{"diceNotation":"3d6","rollType":"damage","rollAction":"Sting","rollDamageType":"poison"}[/rollable_] poison damage on a failed save, or half as much damage on a successful one. Roll a [rollable_](1d100);{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_], if under 20, the target must succeed on a DC12 constitution roll or be paralyzed. (Repeatable on start of their turn)
(Highlighted is the added one) But for some reason the extra roll doesn't get applied when I press the button.
Since there’s no actual d100 in D&D, I don’t think they programmed one in the rollable. You might have to adjust your idea. You could just make it a d10 and have it trigger the saving throw if the result is a 1 or a 2.
PS- There’s no such thing as a “constitution roll,” it’s either a “Constitution check,” or a “Constitution Saving Throw.”
I've been trying to add another extra roll onto my Imps attack:
Sting (Bite in Beast Form). Melee Weapon Attack: [_ rollable]+5;{"diceNotation":"1d20+5","rollType":"to hit","rollAction":"Sting"}[/rollable_] to hit, reach 5 ft., one target. Hit: 5 [rollable_](1d4 + 3);{"diceNotation":"1d4+3","rollType":"damage","rollAction":"Sting","rollDamageType":"piercing"}[/rollable_] piercing damage, and the target must make a DC 11 Constitution saving throw, taking 10 [rollable_](3d6);{"diceNotation":"3d6","rollType":"damage","rollAction":"Sting","rollDamageType":"poison"}[/rollable_] poison damage on a failed save, or half as much damage on a successful one. Roll a [rollable_](1d100);{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_], if under 20, the target must succeed on a DC12 constitution roll or be paralyzed. (Repeatable on start of their turn)
(Highlighted is the added one) But for some reason the extra roll doesn't get applied when I press the button.
Try (without the underscores) to use [rollable_]d100;{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_], which is the same as your line but it removes the "(1" and ")" from the "(1d100)" at the start. I've just tried it and it works for me.
Edit: That said, [rollable_](1d100);{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_] (without the underscores) works for me too - it just displays the button differently, so I'm not sure what your issue was.
So there is a d100?!? Then why in the hell can’t we get a d3?!?
They've added at least one more thing that requires a d3 in the Book of Many Things (the Blasted Goggles). They don't have it rollable digitally, and it's not a common physical dice (not in any official set, anyways). I don't know why they keep using it to reset charges on magical items and such.
So there is a d100?!? Then why in the hell can’t we get a d3?!?
They've added at least one more thing that requires a d3 in the Book of Many Things (the Blasted Goggles). They don't have it rollable digitally, and it's not a common physical dice (not in and official set, anyways). I don't know why they keep using it to reset charges on magical items and such.
I personally like d3s, I just wish DDB would support it, or at least support 1d6/2@roundup (as that is technically RAW).
Goodness, thank you for this, I otherwise would've given up for trying to code this. This coding concept, or at least the instructions for it should be written for the average player, not the average coder.
Frankly this shouldn't be something authors should be dealing with at all - the ideal outcome imo is that the editor should have a button to display a box with all the options as drop-down menus and web form fields. That's why I put the code for mine on GitHub with an open license - I'm very much hoping that the site developers add it! I note that yet another person has written a web form for it in the meantime 😂
Am I missing the code where it allows us to create a roll that would essentially be something like "1d8+DEX" or "3d6+STR" and allow us to pull the character's (or monster's) ability modifiers to add to the rollable tags?
Am I missing the code where it allows us to create a roll that would essentially be something like "1d8+DEX" or "3d6+STR" and allow us to pull the character's (or monster's) ability modifiers to add to the rollable tags?
As far as I'm aware, you have to type the numerical value in yourself, there is no "1d8 + DEX" in the code. If the attack is DEX-based (ranged, or finesse with DEX higher than STR), and the DEX Mod is +3 (and Proficiency is +2), then you need to type 1d20 + 5 for the To Hit, and 1d8 + 3 for the Damage.
"Add [rollable] tags to your homebrew monsters to improve their smooth interaction with the Combat Tracker & Encounter Builder. Simplify your tabletop encounters and give these animals lifelike, dynamic interactions. Go for it!
Hi there! So, I noticed that there is mention of a rollable tag for saves, but I've seen no mention of what its actual expression should be. I don't know if it's necessary on a monster statblock, but I at least wanna see how it functions, if nothing else.
Hi there! So, I noticed that there is mention of a rollable tag for saves, but I've seen no mention of what its actual expression should be. I don't know if it's necessary on a monster statblock, but I at least wanna see how it functions, if nothing else.
What do you mean? It would be the same as the code for an attack, only instead of this:
Hi there! So, I noticed that there is mention of a rollable tag for saves, but I've seen no mention of what its actual expression should be. I don't know if it's necessary on a monster statblock, but I at least wanna see how it functions, if nothing else.
What do you mean? It would be the same as the code for an attack, only instead of this:
"rollType":"to hit","rollAction":"Bite"
you would use this:
"rollType":"save","rollAction":"[Ability] Save".
Make sense?
It does. Thank you. Though, it might be a good idea to mention that in the original post, since it's not mentioned at all.
Hi there! So, I noticed that there is mention of a rollable tag for saves, but I've seen no mention of what its actual expression should be. I don't know if it's necessary on a monster statblock, but I at least wanna see how it functions, if nothing else.
What do you mean? It would be the same as the code for an attack, only instead of this:
"rollType":"to hit","rollAction":"Bite"
you would use this:
"rollType":"save","rollAction":"[Ability] Save".
Make sense?
It does. Thank you. Though, it might be a good idea to mention that in the original post, since it's not mentioned at all.
Well, I can’t change the original post. I don’t work here, I just live here.
And every one of those rollables work the same way. So I’m not sure what exactly needs be mentioned.
I've been trying to add another extra roll onto my Imps attack:
Sting (Bite in Beast Form). Melee Weapon Attack: [_ rollable]+5;{"diceNotation":"1d20+5","rollType":"to hit","rollAction":"Sting"}[/rollable_] to hit, reach 5 ft., one target. Hit: 5 [rollable_](1d4 + 3);{"diceNotation":"1d4+3","rollType":"damage","rollAction":"Sting","rollDamageType":"piercing"}[/rollable_] piercing damage, and the target must make a DC 11 Constitution saving throw, taking 10 [rollable_](3d6);{"diceNotation":"3d6","rollType":"damage","rollAction":"Sting","rollDamageType":"poison"}[/rollable_] poison damage on a failed save, or half as much damage on a successful one. Roll a [rollable_](1d100);{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_], if under 20, the target must succeed on a DC12 constitution roll or be paralyzed. (Repeatable on start of their turn)
(Highlighted is the added one)
But for some reason the extra roll doesn't get applied when I press the button.
Since there’s no actual d100 in D&D, I don’t think they programmed one in the rollable. You might have to adjust your idea. You could just make it a d10 and have it trigger the saving throw if the result is a 1 or a 2.
PS- There’s no such thing as a “constitution roll,” it’s either a “Constitution check,” or a “Constitution Saving Throw.”
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Try (without the underscores) to use [rollable_]d100;{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_], which is the same as your line but it removes the "(1" and ")" from the "(1d100)" at the start. I've just tried it and it works for me.
Edit: That said, [rollable_](1d100);{"diceNotation":"1d100","rollType":"roll","rollAction":"Sting"}[/rollable_] (without the underscores) works for me too - it just displays the button differently, so I'm not sure what your issue was.
So there is a d100?!? Then why in the hell can’t we get a d3?!?
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
I've written a little webapp to create the json to paste into your homebrew monster sheets
Rollable JSON Generator
They've added at least one more thing that requires a d3 in the Book of Many Things (the Blasted Goggles). They don't have it rollable digitally, and it's not a common physical dice (not in any official set, anyways). I don't know why they keep using it to reset charges on magical items and such.
I personally like d3s, I just wish DDB would support it, or at least support 1d6/2@roundup (as that is technically RAW).
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Frankly this shouldn't be something authors should be dealing with at all - the ideal outcome imo is that the editor should have a button to display a box with all the options as drop-down menus and web form fields. That's why I put the code for mine on GitHub with an open license - I'm very much hoping that the site developers add it! I note that yet another person has written a web form for it in the meantime 😂
Devs, can we have this please?
Rollable Dice Block Generator - Source Code
Am I missing the code where it allows us to create a roll that would essentially be something like "1d8+DEX" or "3d6+STR" and allow us to pull the character's (or monster's) ability modifiers to add to the rollable tags?
As far as I'm aware, you have to type the numerical value in yourself, there is no "1d8 + DEX" in the code. If the attack is DEX-based (ranged, or finesse with DEX higher than STR), and the DEX Mod is +3 (and Proficiency is +2), then you need to type 1d20 + 5 for the To Hit, and 1d8 + 3 for the Damage.
In addition to what Desmond_Oakenbrand wrote, these rollables only work on Monsters, not anything to do with PCs.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
So, these won’t work for Homebrewed Items?
Correct
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
Damn. Oh well. 🤣
how did you make this? i would love to be able to do this for a lot of things dnd related to make my life as a dm easier
Hi there! So, I noticed that there is mention of a rollable tag for saves, but I've seen no mention of what its actual expression should be. I don't know if it's necessary on a monster statblock, but I at least wanna see how it functions, if nothing else.
What do you mean? It would be the same as the code for an attack, only instead of this:
"rollType":"to hit","rollAction":"Bite"
you would use this:
"rollType":"save","rollAction":"[Ability] Save".
Make sense?
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
It does. Thank you. Though, it might be a good idea to mention that in the original post, since it's not mentioned at all.
Well, I can’t change the original post. I don’t work here, I just live here.
And every one of those rollables work the same way. So I’m not sure what exactly needs be mentioned.
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting