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

Multiple dice pools at the same time

Hi, I'm trying to figure out how to make a kind of dice roll a little peculiar, and I can not figure out how to do it. For example, I have a group of 5 dice, I want to throw 3d6 white dice and 2d6 black dice. The sum of the black dice must be less than or equal to 7, but the total of white dice + black dice must be equal to or greater than 10. Can any charitable soul help me? Thank you very much.
1496767477

Edited 1496767780
A possible non-API solution would require you to replace the 2d6 black dice roll with a Rollable Table: Table Item Weight -18 15 7 6 8 5 9 4 10 3 11 2 12 1 After creating the Rollable Table, you could use a roll like [[ {3d6 + 1t[black], {0}}kh1 ]] or /r {[[3d6]] + 1t[black]}>10
Possible API solution using PowerCards : !power {{ --White:| [! [^W.base] !] --Black:| [! [^B.base] !] --?? $B.base <= 7 AND $S >= 10 ?? Success:| [[ [$S] [$W]{3d6} + [$B]{2d6} ]] }}
Thanks for your reply!!! Is there any possibility of expanding the results of Black and White dice? (I mean, like 2 + 3 + 2 instead of the sum) This should be enough for me for now.
Favashi said: Is there any possibility of expanding the results of Black and White dice? (I mean, like 2 + 3 + 2 instead of the sum) Using PowerCards: !power {{ --lineheight|1.0em --White:| [! [^W.base] !] --Black:| [! [^B.base] !] --?? $B.base <= 7 AND $S >= 10 ?? Success:| [[ [$S|XPND|NH] [$W]3d6 + [$B]2d6 ]] }}
1496790647

Edited 1496790704
Favashi
Sheet Author
Finally i've done this: !power {{ --format|atwill --titlefont|Courier --titlebackground|none --name|%%who%% --?? $S >= 10 ?? !Exito:| ~C **EXITO** [! [^S] !]~C --?? $S < 10 ?? !Failure:| ~C **FALLO** [! [^S] !]~C --?? $B.base > 7 ?? !Terror:| ~C $$#F00|Ganas un Dado de **Terror**$$ ~C --!Pool:| ~C $$#FFF|**Control**$$ [! [^W.base] !] + **Terror** [! [^B.base] !]   ~C --hroll| [[ [$S|NH] [$W]{@{selected|control}d6} + [$B]{@{selected|terror}d6} ]] }} Is it possible to collect information from a character sheet without using a token? I was hoping to add the call to the macro from a button on the character sheet. For example, for this @{selected|terror}. Thanks again!!! I really appreciate your help.
Yup, you can remove the keyword (selected, in this case) from the Attribute calls , and save that macro as an Ability : !power {{ --format|atwill --titlefont|Courier --titlebackground|none --name|@{character_name} --?? $S >= 10 ?? !Exito:| ~C **EXITO** [! [^S] !]~C --?? $S < 10 ?? !Failure:| ~C **FALLO** [! [^S] !]~C --?? $B.base > 7 ?? !Terror:| ~C $$#F00|Ganas un Dado de **Terror**$$ ~C --!Pool:| ~C $$#FFF|**Control**$$ [! [^W.base] !] + **Terror** [! [^B.base] !]   ~C --hroll| [[ [$S|NH] [$W]{@{control}d6} + [$B]{@{terror}d6} ]] }}