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

Looking for small fix for DnD 5e Sheet

I've noticed a small error on the DnD 5e Sheet, When I roll my skills with Reliable Talent and Advantage at the same time, the roll only makes the first one reliable. As you can see below, I crit failed my skill check and had 10+bonuses, yet the second roll took the dice result plus bonuses. Not really sure if I was meant to post here for such a small fix, but I imagine someone might want to know.
Can confirm.  If Roll Queries = "Always Roll Advantage", it works properly.  But if Roll Queries = "Advantage Toggle", it does not work properly. -Adam
1670720047
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi, TheRockTHatRolls! I just saw another report very similar to this. This should be posted to the official feedback thread for the sheet. In the meantime, go to the Attributes and Abilities tab on your character and look for the field called "stealth_roll". Replace it with this, which has the proper die roll in the r2 field: @{wtype}&{template:simple} {{rname=^{stealth-u}}} {{mod=@{stealth_bonus}}} {{r1=[[{@{d20},0d20+10}k1+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{always=1}} {{r2=[[{@{d20},0d20+10}k1+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{global=@{global_skill_mod}}} @{charname_output}
1670720215
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Addendum,: This would have to be done for every applicable skill, unfortunately. basically replace: r2=[[1d20 with r2=[[{@{d20},0d20+10}k1
Thank you for the feedback, I'll post in the proper thread next time. For the time being, sadly the code doesn't seem to fix it for me. The roll does the same with Advantage Toggle on
1670720841
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Adam Caramon said: Can confirm.  If Roll Queries = "Always Roll Advantage", it works properly.  But if Roll Queries = "Advantage Toggle", it does not work properly. This thread has the fix for query advantage. Do you know what the issue is with advantage toggle? I'll add it to my report.
Not sure what the coding of it means, to be perfectly honest. It is a bit confusing to me. Although, I'll send below the result I've yield, perhaps you can make sense of some of the numbers. Here's the equation I'm getting from Advantage Toggle, after the previous fix you offered And here, this is the result to this other related thread for the Query advantge, after the fix in said thread
1670726409
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you switch the advantage type, the sheet will overwrite any manual changes you input. The code I gave you was a manual band-aid. I have filed a report to Roll20 that lists this thread and the other one, along with the tweaks that need to be made. And yeah, it is confusing. WotC makes changes that are simple for human beings to incorporate, but can sometimes require a rewrite of the logic for an entire section of the sheet. For now, if you don't want to go to a lot of work or the code is daunting, I'd suggest just keeping an eye on it and correcting mentally as need be. The 5e sheet seems to be getting some attention lately, so it's possible the reports will be noted and attended to.
Thank you for your immediate assistance, I appreciate it!