Count successes or check for snake eyes in 2 different pools

Count successes or check for snake eyes in 2 different pools

Return to topic list

Tue Jul 9 12:03:51 2019   by   fskn
The player has two die pools. One normal (A), and one extra (B), which he builds from a resource stat. Both have a varying number of d6s, from 1 to 10, and both have a target number for the roll and one face which represents a failure, 1. All other results are ignored.

When the player rolls, he'll check for successes on pool A.
If there's any, he'll check for bonus successes on pool B and add them up (ignore all 1s on B).
If there aren't any successes on pool A, he'll then check for any number of 1s on both pools A and B. If there are 1s in both pools, he'll score a "botch". Otherwise, if there are 1s in pool A but not on pool B or vice-versa, or any other result, those count as simple failures.

How could I calculate the probability of these 3 results (one adds successes, another simply checks for snake eyes, and the third fails) in Troll? Thanks in advance.
 
Wed Jul 10 09:19:54 2019   by   Torben
You could do something like the following:

A := 3;  \ number of dice in pool A
At := 4; \ target number for pool A
B := 2;  \ number of dice in pool B
Bt := 5; \ target number for pool B

Ap := A d6; \ pool A
Bp := B d6; \ pool B

As := count At <= Ap; \ successes in pool A
Bs := count Bt <= Bp; \ successes in pool B

if As>0 then As + Bs \ add successes
else if 1 = Ap & 1 = Bp then -1 \ there are ones in both pools, so botch
else 0 \ normal failure


One thing you should note: The botch chance increases if you add more dice to pool B.  I'm not sure this is what you want.
 
Wed Jul 10 09:42:13 2019   by   fskn
That's exactly what I want! Thank you so much!
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list