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

Adding a wild die to my dice pool

Really can't seem to figure out how to do this /r ?{Dice Pool?|1}d6>4 That's my current macro.  Looking more so to add the exploding element on a single die (if possible).
1616748639
Ziechael
Forum Champion
Sheet Author
API Scripter
I'm not a regular user of the exploding syntax so this might not be exactly what you want but by grouping the roll you can maintain the >4 success part: /r {?{Dice Pool?|1}d6!}>4
1616764278
Finderski
Plus
Sheet Author
Compendium Curator
We also may need to understand the rolling mechanism...because... You said: Looking more so to add the exploding element on a single die (if possible). So, if Dice Pool is 2, do you want both dice to explode or just one of them? Is the exploding die (assuming only one explodes) always part of the dice pool or is it considered separate? Does it add to the total of the dice pool or simply replace it? 
1616764891
Ziechael
Forum Champion
Sheet Author
API Scripter
^^ Good points!
I just want one of those dice to explode.  It replaces a die within your dice pool.  Thanks :)
1616781859
Finderski
Plus
Sheet Author
Compendium Curator
Ryan said: I just want one of those dice to explode.  It replaces a die within your dice pool.  In which case you could do a two line macro like this: /r {?{Dice Pool?|1}d6}>4 Wild Die: [[1d6!]] Or something like this... /r {?{Dice Pool?|1}d6}>4 and a Wild Die: [[1d6!]]
So you're saying it can't be incorporated right into the dice-pool? Does it have to be a secondary element to the macro? If I roll 4d6 in my dice pool, I want 1 wild die and 3 normal dice. Thanks :)
1616789442
Finderski
Plus
Sheet Author
Compendium Curator
That I can't say...you can with the API (a Pro sub perk), I'm sure. Without the API...no clue; Ziechael may have a clever way...
Well thank you :) I'll definitely use that if you can't 
1616790422
Finderski
Plus
Sheet Author
Compendium Curator
Here's an option: /r { [[?{Dice Pool?|1}-1]]d6!}>4 with a Wild Die: [[1d6!]] Will take the Total Dice pool, subtract 1 from it and then give you the wild die separately.  That really only works if the dice pool is always greater than 1, or if the dice pool is one then it's always the Wild Die...
You can add the successes from the wild dice and rest of the dice pool together /r (?{Dice pool?|1}-1)d6>4 + 1d6>4! This does assume a dice pool of at least one and the wild dice is always present and uses the same target number. Note placing the ! after the target number lets you use it without the group roll syntax. 
1616978455

Edited 1616982390
Really appreciate the help.  I think I'm just going to make it a secondary macro using: 1d6>4!