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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Macro Query

I'm not sure if this possible, but I was hoping someone might be able to tell me if it is possible to write a macro, which would have fumble and success range on a % role, while re-rolling in both cases another % role and showing the results either in green or red, for critical success and failure respectively.  I have been able to construct one which shows the initial % roll to be green or red, with a re-roll if critical success achieved. Thanks
1463636916

Edited 1463636948
Hi, Chris G. If you haven't already, please check out these sections of the Roll20 Wiki: 17.3.1 Target Number / Successes (B,F) - CP 17.3.2 Failures (B,F) - fCP 17.3.7 Rerolling Dice (B,F) rCP 10 Critical Success and Fumble Points I hope these sections are able to answer your question, but if not, please let us know!
Hi Silvyre. I have looked at all of those sections and they were very helpful in constructing the the macro I have, but the problem is there is no example of how to combine a cs and cf along with exploding dice to both the cs and cf, all in the same macro. While I could just split this into three macros, 1. the initial % roll with it indicating a cs or cf with the set range. 2 and 3. the cs and cf are then resolved with two separate simple % macros.  I was just interested in knowing or seeing some examples where this type of mechanic could be all incorporated into a single super macro, I feel it should be possible, but I could be wrong. Thanks
1463682188

Edited 1463682237
You can simply append the cs/cf affixes immediately before or after the syntax for exploding dice. e.g. [[ 5d6!cs>5 ]] or [[ 5d6cs>5! ]] One thing to be way of is when combining  Target Number / Successes with exploding dice, as [[ 5d6cs>5>5! ]] and [[ 5d6cs>5!>5 ]] are very different rolls.
1463704070

Edited 1463704134
Hi Silvyre. Thanks again for your reply. I think I am not wording my query quite right to clearly define the issue I am having, so I'm including the macro as it stands, so hopefully the query is clearer. /roll 1d100!>96cs>96cf<4 So as you can see, its a % roll, exploding on 96 or greater and stating a cs in that case. Similarly it states a cf on a 4 or less. What I would like to include is a % exploding roll element in the case of the cf. I have not been able to find an example of how to do two exploding die rolls in the event of getting a cs or cf in the initial % roll. Is this done by brackets or some other dividing element? Thanks 
1463705302

Edited 1463705410
Unfortunately, it's not possible to have an individual dice expression to accept more than one parameter for explosion without the assistance of an API Script . (Access to the API is available in games in which the Creator has an active Pro subscription.) However, note that individual dice expressions can both explode and compound . e.g. [[ 5d10!<2cf<2!!>9cs>9 ]] It's also possible to use rerolling (plus some mental math) to emulate a second parameter for explosion. e.g. /r 1d100!>96cs>96r<4cf<4
Thanks Silvyre, if API Script is needed then that is probably why there is no examples on the forum. Really appreciate you sticking with the query in spite of the confused nature of it. Thanks again for your time