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

Visually rolling extra dice?

When either me or my player hits the roll attack button from their character sheet(Using 3.5e), it throws a bunch of dice visually but looking at the math it seems to do the math properly(I've tried multiple rolls and it doesn't seem to always pick the highest or lowest d20s). Not sure what I'm doing wrong. The macro under the attack roll button is the default: 1d20cs>@{weapon1critmin} +@{bab}[BAB] +@{epicattackbonus}[Epic AB] + @{weapon1stat}[Ability] +@{size}[size] +@{weapon1enh}[Weapon Enh] +@{weapon1focus}[Weapon Focus] + ?{Flank (1=yes)|0}*2[Flank] +?{Power Attack? (put in penalty with negative sign ie -3)|0}[Pwr Attk] +?{Additional Attack Bonus?|0}[Ad'l Atk Bon]  The Macro under the crit calc is also default:  [[ (@{weapon1critmult}-1) ]]d6 + [[ (@{weapon1critmult}-1) ]] *( @{weapon1damagestat}[Weapon Dmg Ability] +@{weapon1enh}[Weapon Enh] +@{weapon1specialize}[Weapon Spec] +?{Power Attack Bonus?|0}[Pwr Attk] +?{Additional Damage Bonus?|0}[Ad'l Dmg Bon])  The macro under the damage is also default(aside from a quick tweak to the actual damage): &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name}'s @{weapon1name} }} {{damage1=does [[ @{weapon1damage} ]]damage}} {{fullattackflag= [[ 0d1 ]] }} I didn't tweak any macros just because I have no idea what they do, lol. Thanks for your help.
1584499606
vÍnce
Pro
Sheet Author
Hi Zachary, This is a limitation of the 3d dice and roll templates. ;-(  When a macro is executed, all the dice are rolled at that time.  Sheet author's can hide/show output based on some basic conditional logic in a sheet's roll template.  3d dice get rolled when the macro is executed but do not get filtered according to the roll template.  You can turn off the 3d dice if you don't care for the extra dice being rolled.
1584500217
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The unredacted wording of the post above: Hi Zachary, This is a limitation of the 3d dice and roll templates. ;-(  When a macro is executed, all the dice are rolled at that time.  Sheet author's can hide/show output based on some basic conditional logic in a sheet's roll template.  3d dice get rolled when the macro is executed but do not get filtered according to the roll template.  You can turn off the 3d dice if you don't care for the extra dice being rolled. :D
Not sure if this helps, but when I make a custom macro with the same dice roll, it rolls the perfect amount of dice(no extra)
1584502071

Edited 1584502119
vÍnce
Pro
Sheet Author
Zachary B. said: Not sure if this helps, but when I make a custom macro with the same dice roll, it rolls the perfect amount of dice(no extra) Is your custom macro using the sheet's roll template? ie &{template:DnD35Attack}
1584512153
Diana P
Pro
Sheet Author
Your base attack macro looks something like: &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name}}} {{subtags=attacks with a @{weapon1name} }} {{attack1=hitting AC [[ @{weapon1attackcalc} ]] }} {{critconfirm1=Crit?: [[ @{weapon1attackcalc} ]] }} {{fumbleroll=Fumble: [[ d20 ]] }} {{damage1=for [[ @{weapon1damage} ]]dmg}} {{critdmg1=+ [[ @{weapon1crit} ]] crit dmg}} {{fullattackflag= [[ 0d1 ]] }} of the 3 d20's rolled, the first one is used in the {{attack1=hitting AC [[ @{weapon1attackcalc} ]] }} section to calculate your attack for you.  If the roll in that is equal to or higher than your critical number (20 if you haven't changed it), then the roll template will show the {{critconfirm1=Crit?: [[ @{weapon1attackcalc} ]] }} which uses the 2nd d20 rolled to calculate a 2nd attack roll for the critical confirmation.  If the roll in the first attack is a 1, then the roll template shows the {{fumbleroll=Fumble: [[ d20 ]] }} which uses the 3rd d20 rolled to just roll a d20 for you.  Unfortunately, the roll template can only hide the sections not shown; they still have to roll if you want the results to possibly appear.  If you leave those sections out; you won't get the additional 3d d20 dice, but you also won't get the critical check and fumble rolls. For the d6's, the first one is used in the {{damage1=for [[ @{weapon1damage} ]]dmg}} calculation for your damage, and the 2nd one is used in the following {{critdmg1=+ [[ @{weapon1crit} ]] crit dmg}} section to show the additional damage a critical would do.  This section will also only show up if the first d20 rolled is higher than the critical number and if you leave that section out of the macro, it will not roll either the 3d dice nor show up if a critical is rolled. Hope that helps.
Thank you ! I was looking to explain these extra dice myself because a player asked me yesterday if the system always took the best D20 for the attack roll. I can confidently say no now :-). Thanks for answering !