DiceCloud Extender
About
DiceCloud Extender (DCE) is a userscript for the digital character sheet app DiceCloud.
I created this script because there are certain features that are missing from DiceCloud that I wanted to implement. Those features are:
- Dice Roller.
- Click to Roll.
- Automation of rests.
- Planned Future Features
- Automatic color-coding of text in spells by keywords and phrases
- Tooltip previews to spells and items
Some of the features in DCE may be added in DiceCloud version 2, but until then enjoy DiceCloud Extender.
How to Use DCE
Rolling The Dice
Type a dice formula in the input and press enter. NO SPACES.
Examples of acceptable dice formula (notice there are no spaces):
- 1d4
- 1d6+1
- 1d6+1-3
- 3d8+1-2d4+2
- 10d10-6d12+33
- 1d20+5+6+1d8+1d4-1d4
Did I mention no spaces? No spaces.
The result of the roll will flash on the top of the screen, and will also be logged in the top left corner, right above the input.
Click To Roll
You can click any of the following to automatically roll dice:
skills, ability modifiers, saving throws, initiative, proficiency, attack rolls, damage rolls.
Short Rest, Long Rest, and Dawn
Type the following as its own paragraph in a card to get the desired result. Type it without quotations and without spaces:
"Rest=Short" | When you click the Short Rest button this card will be reset to its full uses. |
"Rest=Long" | When you click the Long Rest button this card will be reset to its full uses. |
"Dawn=Full" | When you click the Dawn button this card will be reset to its full uses. |
"Rest=Short=Roll[dice formula]" * | When you click the Dawn button this card will regain [dice formula] uses. |
"Rest=Long=Roll[dice formula]" * | When you click the Dawn button this card will regain [dice formula] uses. |
"Dawn=Roll[dice formula]" * | When you click the Dawn button this card will regain [dice formula] uses. |
* Replace "[dice formula]" with a dice formula, such as 1d6+1. No brackets, no spaces. No space between the word "Roll" and the formula.
Check for Updates
Features I plan to add:
- Reset spell slots and HP on long rest
- Automatically color-code text in spell descriptions based on key words and phrases and dice formula
- Add tooltip previews to spells - mouse over a spell to get a quick preview a la card previews
- Add tooltip previews to items
Talk To Me
Send me a message on Reddit if you have questions, bugs, or feature requests.
u/atill91
Known Issues
- If cards are added you'll have to click the tab again to get that card to work with any DCE features
- Likewise, if any numbers are changed while you're on the tab, you'll have to click the tab again to update the numbers in DCE (otherwise it'll use the old values)