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

2 results from 1 die roll?

So this is for an AD&D game I'm currently playing in. I'm rocking out a first edition monk and I have a macro set up for using the monks open hand attack. In this case if the monk rolls 5 more than needed (on a d20) to hit, he scores a stun. Is there anyway to use the single attack roll to show what I would hit and what I would stun. So far, the macro looks like this, I have it set up to display a table showing what armor class is hit, damage, and a make shift table to the DM showing any bonus results from that attack that might apply. &{template:default} {{name=Unarmed attack}} {{Hits AC=[[(22-((ceil(@{Moh-zih Hanzahd|level-class3}/3)*2)))-(1d20cs>20+?{Attack mod|0})]]}} {{Damage= [[1d6+?{Damage mod|0}]]}} /w gm &{template:default} {{name=Unarmed specials}} {{Stun (AC hit +5)=[[1d6]]}} {{Kills AC= [[1d100]]}} So to sum up, I want to reference the 1d20 roll in the table to display 2 results. For example if I roll a 13 I would want it to display: Hits AC 7, stuns AC 2 for [1d6] rounds. Alternatively, I can put the macros in line with text if the table won't work.
1597443705
GiGs
Pro
Sheet Author
API Scripter
Unfortunately no, there's no way to do that. If your GM is a Pro subscriber, they can install an API script that would allow this, but it would need to be a custom script written specifically for your attack, so its probably not worth it for one attack from character.
1597443829
GiGs
Pro
Sheet Author
API Scripter
Actually, you might be able to do this with a rollable table (the GM would still have to create it). And this table would need to be updated every time your attack number changed, so again, it's not really worth it.
Okay, thanks.
1597444140
GiGs
Pro
Sheet Author
API Scripter
No priblem - i wish there was a better answer, but roll20's dice and tables are surprisingly limited in some ways.
1597453073
Oosh
Sheet Author
API Scripter
You can do this if you're happy to throw it all in the one template? But yeah, otherwise it won't work without some API magic as GiGs said. &{template:default} {{name=Unarmed attack}}[[[[(22-((ceil(@{Moh-zih Hanzahd|level-class3}/3)*2)))-(1d20cs>20+?{Attack mod|0})]] -5]] {{Hits AC=$[[0]]}} {{Stuns AC=$[[1]] for [[1d6]] rds}} {{Damage= [[1d6+?{Damage mod|0}]]}} {{Kills AC= [[1d100]]}}