<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Hi Stef.<div><br></div><div>+1 :-)</div><div><br></div><div>> <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">What do you think? Should I submit the code to the inbox?</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Sure. Or I can directly merge the changeset you attached. Would you also add tests about that to RandomTest >> #testRoll?</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Best,</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Marcel</span></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 15.04.2020 18:45:02 schrieb Stéphane Rollandin <lecteur@zogotounga.net>:</p><div style="font-family:Arial,Helvetica,sans-serif">Hello, <br> <br>I implemented an improved version of Random>>#roll: (attached) <br> <br>It has two more operators, > and <, that="" can="" be="" used="" to="" discard=""></,><br>respectively a number of lowest or highest throw results. This is used  <br>to skew the random distribution to the left or to the right. <br> <br>The idea is illustrated here: <br>https://www.gmdice.com/blogs/dnd/dice-probability-explained <br> <br> <br>So for example, <br> <br>      Random roll: '3d6>2' <br> <br>will roll three d6 and discard two of them, keeping only the best result. <br> <br>Similarly: <br> <br>      Random roll: '3d6<1'></1'><br> <br>rolls three d6 and discards the lowest result. <br> <br>For consistency, the algorithm takes offsets into account: <br> <br>      Random roll: '3d6>2+10' <br> <br>adds 10 to the two best throws, while <br> <br>      Random roll: '3d6+10>2' <br> <br>will keep 10 and the best throw among the three d6. <br> <br> <br>What do you think? Should I submit the code to the inbox? <br> <br> <br>Stef <br><br></div></blockquote>
                                        </div></body>