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 .
×

Is it possible to add another roll option than advantage or disadvantage ?

Hello ! I've been seeing a lot of coding discussion for elven accuracy, but isn't there a way to add another box in the upper part of the sheet, next to "advantage, normal, disadvantage" that would allow to throw 3 times the d20 ? I know you can modify the "rtype" but I don't find convenient to be asked everytime I roll something. Thanks !
1660352758

Edited 1662073562
Gauss
Forum Champion
I cannot tell you how to do 3 boxes, it would require the Roll20 Devs to change the sheet. But, you can make an Ability macro for it using the same output format as normal. Here is how you do that:  1) Edit your bow, add Elven Accuracy to the description box. (This will be deleted later, or you can put some other text in to indicate this is an Elven Accuracy attack.) 2) Make an attack with your bow. (You can now remove the Elven Accuracy line from your bow.) 3) Go to the chat window, click on it, push the up arrow, then copy the text.  The text should look similar to this:  @{Merric|wtype}&{template:atkdmg} {{mod=+5}} {{rname=Shortbow (2hand)}} {{ r1=[[@{Merric|d20}cs>20 + 3[DEX] + 2[PROF]]]}} @{Merric|rtype}cs>20 + 3[DEX] + 2[PROF]]]}} {{attack=1}} {{range=80/320'}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d6 + 3[DEX]]]}} {{dmg1type=Piercing}} 0 {{dmg2=[[0]]}} {{dmg2type=}} {{crit1=[[1d6[CRIT]]]}} {{crit2=[[0[CRIT]]]}} 0 {{desc=}}   {{spelllevel=}} {{innate=}} {{globalattack=@{Merric|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{Merric|global_damage_mod_type}}} ammo= @{Merric|charname_output} 4) Now create an Ability (Attributes and Abilities tab), paste the text you got from copying and pasting.  Now, we change the bolded section above to this (make sure you use the correct name, not "Merric") r1=[[ {@{Merric|d20}cs>20, @{Merric|d20}cs>20}kh1 How it looks:  @{Merric|wtype}&{template:atkdmg} {{mod=+5}} {{rname=Shortbow (2hand)}} {{ r1=[[{@{Merric|d20}cs>20, @{Merric|d20}cs>20}kh1 + 3[DEX] + 2[PROF]]]}} @{Merric|rtype}cs>20 + 3[DEX] + 2[PROF]]]}} {{attack=1}} {{range=80/320'}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d6 + 3[DEX]]]}} {{dmg1type=Piercing}} 0 {{dmg2=[[0]]}} {{dmg2type=}} {{crit1=[[1d6[CRIT]]]}} {{crit2=[[0[CRIT]]]}} 0 {{desc=}}   {{spelllevel=}} {{innate=}} {{globalattack=@{Merric|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{Merric|global_damage_mod_type}}} ammo= @{Merric|charname_output} Close it and now you have a macro that does it for you.  Limitation: The Macro will ALWAYS roll 2d20 and keep the highest one, but when you have advantage turned on AND you want Elven Accuracy it will work correctly.  When not using Advantage make the roll normally (not via this Ability macro). You may be wondering about the logic of it. This basically moves advantage to the 2d20kh1, and the "advantage" roll you normally see is the 3rd d20 that replaces the lowest die of the 2d20kh1.  Edit: added the Elven Accuracy description to the steps. 
Hi ! Thanks for your answer, this looks insanely good ! However, I don't understand the 3rd step, I don't see how I can get the codelines of the attack. thx for the help
Nevermind I figured it out, I'll try the macro now
I tried it and it works perfectly ! This is not exactly what I was expecting but... works even better ! Thanks a lot
1660408774
Gauss
Forum Champion
I apologize for not being clearer on the 3rd step. When you click on the chat window I mean the box where you type stuff in (sounds like you figured it out).  Until the Devs update the 5e by Roll20 sheet with a switch for Elven Accuracy (if they do) this is the solution I suggest. Enjoy :)