
Hi, Loving Roll20, and did lots of research in Forums and Help files.... but still can't wrap my head around the macro i am trying to create. Playing 13th Age, but it's not a game-specific macro, i don't think. My ranger has the Double Melee Attack skill, which in 13th Age allows an immediate second free attack, but ONLY if the first attack roll is a natural even number on a d20. So is there a way to add a second Attack macro after the first one, based on that condition (or IF 2, 4, 6, 8, 10, 12, 14, 16, 18, 20)? It will get more complicated, because there is a conditional bonus modifier on the second attack. But one thing at a time? Here is what i tried: /em swings his sword toward his opponent!
/roll 1d20 + 5 vs AC
If the sword bites deep, it causes the following Damage:
/roll 1d6 + 4
?{Was the first sword attack result an even number?| No, [[0]]| Yes - attack again with bonus,[[#DMA1]]| Yes- attack again no bonus, [[#DMA2]] } I like the idea of a QUERY, but it needs to come after the display of the first attack's results. The QUERY is only to allow me the option to use the bonus or not on the second attack (if applicable). But in my tests, the query popped first, before the first attack, and then didn't even execute the secondary and tertiary macros. So are there if/then statements in Roll20? Help? P.S. The #DMA1 and #DMA2 macros are simply another indentical [1d20 + 5 vs AC] basic attack macro, but with and without a "momentum" type bonus, respectively. Here they are, in case you want them: #DMA1 /em whirls toward a new enemy, and uses his handaxe to wildly stike again for a second blow!
/roll 1d20 + 7 vs AC
A hit causes Damage:
/roll 1d6 + 4
#DMA2 /em strikes again, using his handaxe for a second blow!
/roll 1d20 +5 vs AC
A hit causes Damage:
/roll 1d6 +4