That'd be amazing. And the Play-by-post forum would love you forever. lol
I'm gonna high-jack the thead for a sec. What all dice calcs would we want to handle, seriously.
ndType+[number] i.e., 3d8+4
ndType-[number] i.e., 2d6-3
would we really need a * or / ? I don't think so.
what about chained rolls? ndType+ndType? i.e., 2d10+1d12 ?
There's also the ability score rolls. 4d6 subtract the lowest number. I imagine that'd be it though. Those three and rolling attributes. Yes to chained rolls, but they could also just roll separate for the second die if needed.
Adding and subtracting dice rolls together with modifiers. No need for multiplication or division. Well... not so often that it would need a tool-tip, if we could get it faster ;]
Rollback Post to RevisionRollBack
"Anything is possible if you don't know what you're talking about." - My Granddad
The tooltip does not change across previews or multiple edits to the post. Once rolled, that roll is fixed.
It should be impossible to spoof (easy enough if done via a tooltip)
Nice features:
Duplicate roll20's roll syntax :)
DM rolls. Like [dmroll]1d20+10[/dmroll] would show the full 1d20+10 tooltip to the OP of the thread, but everyone else only gets a tooltip with the dice used and final result (so modifiers are hidden), and attempting to quote the post embeds the final result instead of giving the full expression.
I don't know what language this site is coded in, but if you want, I have some code over here written in C that implements a dice roller. You're free to use it for whatever purpose you wish (it's MIT licensed). It implements a large subset of roll20's dice syntax. If anything, it may be useful to reference while making your own implementation. It was originally written to be integrated into an IRC service package GameServ, so it isn't exactly general-purpose.
If you let me know what language D&D Beyond is written in, I'll rewrite it for that as a library for fun, since I like doing stuff like this ;)
1
*Uses Misty Escape, only, my army of crits makes it teleport me 10 miles away instead of 60 ft.*
My Mountain Dwarf Fighter, from the Peaks of Winter Play by Post. I'm very proud of him. Thanks to VillainTheory for backstory inspiration.
http://www.dndbeyond.com/forums/d-d-beyond-general/play-by-post/1903-the-peaks-of-winters-hold?comment=13
Site Rules & Guidelines --- Focused Feedback Mega Threads --- Staff Quotes --- Homebrew Tutorial --- Pricing FAQ
Please feel free to message either Sorce or another moderator if you have any concerns.
Stop hijacking my baby!
1
My Mountain Dwarf Fighter, from the Peaks of Winter Play by Post. I'm very proud of him. Thanks to VillainTheory for backstory inspiration.
http://www.dndbeyond.com/forums/d-d-beyond-general/play-by-post/1903-the-peaks-of-winters-hold?comment=13
Here's what some of the more comprehensive dice rollers use:
Multiple rolls can be placed in the same request if divided by a semicolon (";").
Additional options can be added to any set if separated by a ".".
"takehighest(n)": Of all the rolls in that group, take the "n" highest rolls.
i.e.: "2d20.takehighest(2) +10"
"takelowest(n)": Of all the rolls in that group, take the "n" highest rolls.
i.e.: "10d10.takelowest(4)"
"minroll(n)": If any die has a value lower than "n", change it to "n".
i.e.: "2d6.minroll(2)"
"reroll(n)": If any die has a value lower than "n", reroll that die.
i.e.: "2d6.reroll(2)"
"each(n)": Add "n" to every die roll.
i.e.: "2d20.each(2)"
"extra(n)": If any die has a value greater than or equal to "n", roll an additional die.
i.e.: "2d8.extra(8)"
Above options can be chained.
i.e.: "4d20.takehighest(2).reroll(15)"
Site Rules & Guidelines --- Focused Feedback Mega Threads --- Staff Quotes --- Homebrew Tutorial --- Pricing FAQ
Please feel free to message either Sorce or another moderator if you have any concerns.
1
Adding and subtracting dice rolls together with modifiers. No need for multiplication or division. Well... not so often that it would need a tool-tip, if we could get it faster ;]
"Anything is possible if you don't know what you're talking about." - My Granddad
1d100
2
Ahh, the world of software developers......
My Mountain Dwarf Fighter, from the Peaks of Winter Play by Post. I'm very proud of him. Thanks to VillainTheory for backstory inspiration.
http://www.dndbeyond.com/forums/d-d-beyond-general/play-by-post/1903-the-peaks-of-winters-hold?comment=13
3
4
I can appreciate it... wouldn't want to do it.
"Anything is possible if you don't know what you're talking about." - My Granddad
5
6
My Mountain Dwarf Fighter, from the Peaks of Winter Play by Post. I'm very proud of him. Thanks to VillainTheory for backstory inspiration.
http://www.dndbeyond.com/forums/d-d-beyond-general/play-by-post/1903-the-peaks-of-winters-hold?comment=13
I'm gunna "warn" you all for spamming. O.o We're legit using this thread for business, peoples.
Site Rules & Guidelines --- Focused Feedback Mega Threads --- Staff Quotes --- Homebrew Tutorial --- Pricing FAQ
Please feel free to message either Sorce or another moderator if you have any concerns.
You can only have it tonight. You don't get to permanently win ;)
My Mountain Dwarf Fighter, from the Peaks of Winter Play by Post. I'm very proud of him. Thanks to VillainTheory for backstory inspiration.
http://www.dndbeyond.com/forums/d-d-beyond-general/play-by-post/1903-the-peaks-of-winters-hold?comment=13
:p
Site Rules & Guidelines --- Focused Feedback Mega Threads --- Staff Quotes --- Homebrew Tutorial --- Pricing FAQ
Please feel free to message either Sorce or another moderator if you have any concerns.
No one ever gets to win
1 ;]
"Anything is possible if you don't know what you're talking about." - My Granddad
Nah, we hit 20 earlier in the thread.
Ezmode. :)
2
Pun-loving nerd | Faith Elisabeth Lilley | She/Her/Hers | Profile art by Becca Golins
If you need help with homebrew, please post on the homebrew forums, where multiple staff and moderators can read your post and help you!
"We got this, no problem! I'll take the twenty on the left - you guys handle the one on the right!"🔊
Lol, the mods get lazy and let us win sometimes.
3
"Anything is possible if you don't know what you're talking about." - My Granddad
4
Required features:
Nice features:
I don't know what language this site is coded in, but if you want, I have some code over here written in C that implements a dice roller. You're free to use it for whatever purpose you wish (it's MIT licensed). It implements a large subset of roll20's dice syntax. If anything, it may be useful to reference while making your own implementation. It was originally written to be integrated into an IRC service package GameServ, so it isn't exactly general-purpose.
If you let me know what language D&D Beyond is written in, I'll rewrite it for that as a library for fun, since I like doing stuff like this ;)
5
I feel so dumb......
My Mountain Dwarf Fighter, from the Peaks of Winter Play by Post. I'm very proud of him. Thanks to VillainTheory for backstory inspiration.
http://www.dndbeyond.com/forums/d-d-beyond-general/play-by-post/1903-the-peaks-of-winters-hold?comment=13
6.
Are you all suggesting people might cheat? On the INTERNET?