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
This post has been closed. You can still view previous posts, but you can't post any new replies.

[Macro] I need help setting up a couple macros

As the title says, I need some really complicated macros done for D&D 5ed, mostly because I actually am using homebrew stuff. These are high level character macros but they need a lot of stuff. The first macro is setting up a character that has a greatsword (2d6) which is also a flametongue (2d6) but force damage rather than fire. Now I have greatweapon fighting which allows me to re-roll any rolls of 1 and 2 (only once on every single dice). Then whenever I land a crit I deal an additional 4d6 damage of the weapon type (don't forget, these re-rolls 1s and 2s as well). Now, I also deal triple damage when I crit, in the current version you don't actually triple the damage, you just add more dice so it will be 6d6+6d6 on a crit, all of these ro-rolling 1 and 2. The 4d6 are added after these so they don't multiply. I will crit on a roll of 17+, however I also need to diferenciate a natural 20 because I'll cut a limb off a creature in addition to all of that if the crit is a nat 20. And that is basicly the first macro, now the second is basicly the same, but with an added feature. Exploding dice. I will have an abillity once per turn that any dice that roll max add another dice. The hard part of this equasion is that exploding dice probably need a complicated macro because the normal 1d6ro<2! will only reroll the base dice, but not the exploding ones which also benefict from that effect. And that's it, though I'd like to also have a macro that will roll 3d8, rerolling 1s and 2s and exploding dice, counting that exploded dice also get rerolling beneficts. I'm not even sure it is possible to set up these kind of macros, it would be nice if it was possible but frankly, I can't make heads or tails of the macro help thing you guys have which is why I'm asking for help. Thanks
1459303967

Edited 1459304349
It looks like you're familiar with the syntax for Rerolling Dice . For the purpose of writing these macros, I'll also recommend you familiarize yourself with the following concepts: Creating and Editing Macros Inline Dice Rolls Critical Success and Fumble Points (aka Roll Highlighting) Roll Templates (Especially if you're using a Character Sheet.) Chat Commands Note that without a custom Roll Template (e.g. one supplied by any of the three D&D 5e Character Sheets) or an API Script, you will not be able to conditionally show or hide information (e.g. critical damage). Access to the API is available in games in which the Creator has an active Pro subscription. Here's something to start you off: /em swings their greatsword! [[ 1d20cs>17cf1cf20 ]] vs AC for [[ 2d6ro<2 ]] slashing plus [[ 2d6ro<2 ]] force damage! If crit, add [[ 6d6ro<2 + 4d6ro<2 ]] slashing plus [[ 6d6ro<2 ]] force damage! The roll highlighting on the d20 is written to highlight that inline roll red on a roll of 1; green on 17, 18, 19; blue on a 20.
1459304302

Edited 1459304313
Elhazzared . said: The hard part of this equasion is that exploding dice probably need a complicated macro because the normal 1d6ro<2! will only reroll the base dice, but not the exploding ones which also benefict from that effect. I know that the Dev Team is looking into adjusting how rerolling and compounding dice work , so there is a chance that this behaviour may also be changed at some point in the future. At the moment, you'll unfortunately have to either use an API Script to manage this, or adapt your house rule to the dice engine.
Silvyre, thank you very much for your help. Even if I can't get exploding dice and re-rolls to perform as expected, this will still work and I'll just have to do the rest manually, at least half the job is done this way. I will have to manualy still make a minor adjustment to it as I'll have to direct it to roll each d6 individually and then add the re-roll command to each d6 otherwise it won't actually re-roll all dice. you'll notice it very easily if you tell it to roll 2 dice with a re-roll command and both land on the number to re-roll but only one of them gets re-rolled, unless you actually do it dice by dice but that is something I'm capable of doing myself. Once again thanks for the help, I'll just need to have a macro set for this and it works perfectly as I already have been testing.
Elhazzared . said: I will have to manualy still make a minor adjustment to it as I'll have to direct it to roll each d6 individually and then add the re-roll command to each d6 otherwise it won't actually re-roll all dice. you'll notice it very easily if you tell it to roll 2 dice with a re-roll command and both land on the number to re-roll but only one of them gets re-rolled, unless you actually do it dice by dice but that is something I'm capable of doing myself. I made a few tests using /r 2d2ro1 and was not able to reproduce this behaviour.
1459336175
Andrew C
Marketplace Creator
Just asking the silly mathematics style question... Is it just "if you get 1 or 2, you get a chance to not get 1 or 2" or is it "any d6, including rerolls, that comes up 1 or 2, gets rerolled until it is 3+" If so, you might be able to shortcut the whole process and just use 1d4+2 to replace your rerolling d6s.
10d6ro2 will re-roll any d6's that come up on a one or two, but only re-roll them once. If they come up one or two again... they will not be re-rolled again. 
1459346325

Edited 1459346567
Well, here's an example. As you can clearly see, it rolled snake eyes but only rerolled one of them. Andrew, ro stands for reroll once so it will only re-roll once. If you want to keep rerolling until it is no longer a 1 or 2 no matter how many times it has to reroll it, then you use r<2.
@Elhazzared - actually you didn't roll snake eyes... you rolled a 1 and a 6, but the initial 1 rerolled once and just happened to be another one.  See my example below and a bit more details on how it seems to work. Reroll once rerolls all dice once.  It is easy to get confused by the way it is output, basically it seems to roll each die, then if it matches the "ro" condition, immediately rerolls the die, then continues on with other dice.   So take this for example: The first die rolled a 1, so it was rerolled with an actual result of 6.  The second die rolled a 2 which was then rerolled with an even worse result of 1. So in this case, reroll once does indeed work as one would expect, but often the output can be a bit confusing.
I see. Alright that works then, it would be cool if the devs could actually make the output a little clearer then.
1459528784
Gen Kitty
Forum Champion
For your suggestions, we offer the Suggestions & Ideas forum, which is based on voting from the whole community. Please review our Forum Voting wiki page for more information on how voting works, and our Suggestions & Ideas Posting Guidelines for the added expectations above and beyond our standard Code of Conduct . Do you have any more questions about these macros or are we good to close this thread?
No, that was all. Thanks for the help.
1459537042
Gen Kitty
Forum Champion
We're glad to be able to help :)