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

Roll template question....

Hi all, My rogue has 2 feats that seem to overlap and bug themselves.... All my stealth checks are supposed to be rolled with advantage, and all my proficiencies that are "mastered" are supposed to be at least 11 (9s or under are considered as 10s). My roll formula for stealth is :  @{wtype}&{template:simple} {{rname=^{stealth-u}}} {{mod=@{stealth_bonus}}} {{r1=[[{@{d20},0d20+10}k1+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{query=1}} ?{Advantage?|Normal Roll,&#123&#123normal=1&#125&#125 &#123&#123r2=[[0d20|Advantage,&#123&#123advantage=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10}k1|Disadvantage,&#123&#123disadvantage=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10}k1}+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{global=@{global_skill_mod}}} @{charname_output} But i never have advantage in my roll, and i don't have the option of rolling with disadvantage... This feats are coming from the compendium directly in the sheet... Can someone have a look at this roll template and correct it so it shows the advantage in my rolls ??? I think it's a little bug of 2 feats overlapping themselves... Thx for your help if you can
No help.?...😢 
1670607499
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Took a while, but I got it: @{wtype}&{template:simple} {{rname=^{stealth-u}}} {{mod=@{stealth_bonus}}} {{r1=[[{@{d20},0d20+10}k1+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{query=1}} ?{Advantage?|Normal Roll,&#123&#123normal=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10&#123k1|Advantage,&#123&#123advantage=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10&#123k1|Disadvantage,&#123&#123disadvantage=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10}k1}+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{global=@{global_skill_mod}}} @{charname_output} the "}" in the disadvantage query was not escaped.—the bracket before "k1".
thx that's perfect.  Maybe that's something that would need to be addressed by roll20 in the 5e roll20 character sheet.
1670699773
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Probably, but: A) Where does this macro come from? Was it generated by the sheet? B) If so, can you give repro steps that can repeatably create this situation?
Lionel V. said: Hi all, My rogue has 2 feats that seem to overlap and bug themselves.... All my stealth checks are supposed to be rolled with advantage, and all my proficiencies that are "mastered" are supposed to be at least 11 (9s or under are considered as 10s). My roll formula for stealth is :  @{wtype}&{template:simple} {{rname=^{stealth-u}}} {{mod=@{stealth_bonus}}} {{r1=[[{@{d20},0d20+10}k1+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{query=1}} ?{Advantage?|Normal Roll,&#123&#123normal=1&#125&#125 &#123&#123r2=[[0d20|Advantage,&#123&#123advantage=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10}k1|Disadvantage,&#123&#123disadvantage=1&#125&#125 &#123&#123r2=[[{@{d20},0d20+10}k1}+5[Proficiency]+10[Mods]@{pbd_safe}]]}} {{global=@{global_skill_mod}}} @{charname_output} But i never have advantage in my roll, and i don't have the option of rolling with disadvantage... This feats are coming from the compendium directly in the sheet... Can someone have a look at this roll template and correct it so it shows the advantage in my rolls ??? I think it's a little bug of 2 feats overlapping themselves... Thx for your help if you can As i mentionned these 2 class and archetype feats that are overlapping are coming from the conpendium and thus the roll is generated directly when these feats are dragged-dropped onto the character sheet:  reliable talent  supreme sneak It causes all the proficiencies roll templates where PB is applied to not be able to roll advantage (result not showing up) or disadvantage (option not available in the query)
1670787668
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I have reported this and linked this thread.  I have a feeling that since this comes from the synergy between two separate compendium drops, it might be a complicated fix. 
Also, when i correct the attribute formula in the sheet (and update token's default), when i log out and log in again, the formula switches back to what it was before....  I have to correct the attribute eveytime i log in the game again.  I could probably use a macro to correct all the attributes needed everytime, but it's a little bit a PITA to do that. I thought that updtaing the token's default would change it "forever"... Am i doing something wrong ?