Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Charlatan's Die roll macro?

Hello all, I'm trying to think of a way to setup a macro for the Charlatan's Die (details of the item: "Whenever you roll this six—sided die, you can control which number it rolls.").  I'd like to allow my player who has it to "fake a roll" of a d6, and choose the outcome for himself.  Does anyone have any ideas as to whether this is possible or not?  Or how would you go about setting up the macro? Thanks.
1584909102
Ziechael
Forum Champion
Sheet Author
API Scripter
The biggest problem you'll have is having the roll highlights for min/max but: [[ ?{Desired Roll|1|2|3|4|5|6} ]]
Yeah, I'm trying to get this to look as much like a normal d6 roll as possible (including having a 3d die rolled), so I'm starting to think it may not be possible.  Obviously, for good reasons, roll20 doesn't allow you to "spoof" rolls, but for the flavor of this particular item, I'm hoping to find a workaround.  I've posted in the API forum as well, maybe through the use of scripts there is a way. I appreciate the example, though, @ziechael
1584914903

Edited 1584915047
Ziechael
Forum Champion
Sheet Author
API Scripter
I wondered if that might be the response, there is no way to spoof rolls... probably because it would be open to horrific abuse. You could still have a d6 roll but it wouldn't match the outcome desired most of the time, double nesting will hide all the mechanics from prying eyes and the incorrect d6 could be dismissed as a glich?!: [[ [[ {1d6-6,0d0+?{Desired Result|1|2|3|4|5|6}}kh1 ]] ]]
1584916948

Edited 1584917022
GiGs
Pro
Sheet Author
API Scripter
There were discussions early on in roll20's existence where people asked for help to spoof rolls, and the roll20 devs were very specific that they would never enable that. They didnt specifiy, but I think part of the reasoning is that it undermines confidence in their dice roller, so it's dangerous for them to allow it. It's not just that though - when similar discussions came up from GMs who wanted to eavesdrop on private whispers between players, they were very clear that they wouldnt allow that. Integrity is a big part of their model. It's unfortunate that this makes some game mechanics impossible on roll20, but it's overall a good thing.
1584954396
Ziechael
Forum Champion
Sheet Author
API Scripter
The only real alternative is to have a token on the page: Type /r 1d6 When the roll is done drag the result from the () part of the output onto the VTT to create a rollable token that you can also right click and 'choose side' on to set it to whatever you want it to be. Not perfect, can't really use it as part of a calculation but a nicely visual and somewhat 'official' representation of the die?