Count Dice equal to the dice target, and increase dice up to the dice target with total of Roll points mechanic help. #11
-
Posita, and anyone else able to help. I am still a python noob, so finding this one hard to put together. My mechanic has you roll a pool (based on your 1-20 attribute (10 average) plus dicepool modifiers) of 20 sided dice looking to meet a dice target, 20 by default, but it varies (from 2- 20+-30-40 etc.). Each die that meets or beats the die target counts as 1 result point. Now, dice targets can increase above 20. but, if a die comes up a natural 20, it explodes and you reroll and add to see if you can meet the greater than 20 dice target. So that's not too complicated to figure out. BUt here is where I get lost. You also have a number of roll points equal to your skill. After rolling and rerolling any nat 20s. you can add these roll points to individual die totals to reach the dice target. Each one boosted that way counts as an additional result point. If you don't have enough roll points to boost a die, or enough remaining roll points, they are ignored. natural 1s can't have dice points added to them. Additionally, if none of the dice in your dicepool reach the dice target, it counts as 0 result points, a failure. Additionally, if none of the dice meet the dice target, each natural 1 in the dicepool counts -1 result point, a failure result point. Now I am confused as how to handle all this, being a python novice. If you could code this out and explain it to me, I would appreciate it. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Thanks for the question @wmrobmuadib! Before I offer a solution, I'd like to understand the mechanic a little better. How to roll points work? Is it a fixed bonus that is added to each d20 rolled, or is it a single amount that the player can divide and apply to zero or more of the values rolled? If the latter, is it assumed that the player would always optimally allocate the points to maximize the number of result points? Do natural 1s affect the aggregate result points only if no value in the roll meets or beats the target number? For example, let's say the target number is 10, and my pool size is 5, and I have no roll points. I roll: 1, 1, 2, 2, 12. Is the result 1 or -1? |
Beta Was this translation helpful? Give feedback.
-
THanks for your response! ROll points are a limited pool that can be individually spent to add to a specific die total to bring it up to the die target. And the rule is you apply the roll points to the highest die less than the dice target to bring it to the dice target. If there are roll points left over after adding to that die, you add points to the next highest die, if you don't have enough roll points remaining to add to it so that it reaches the die total, the remaining roll points are lost/ignored. And natural ones only affect result points if no value in the roll meets or beats the target number, yes. In your example, the result 1, because the 12 is greater than or equal to the dice target. If it was a 9, then you would look for 1s for negative result points. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Hi @wmrobmuadib! It took me awhile to get to this, but I think I have you covered. The bad news is that, with so many D20s involved, your mechanic requires some computational heavy lifting (at least with respect to I have a write-up here: 👉👉👉 👈👈👈 [source] The even better news is that translating between |
Beta Was this translation helpful? Give feedback.
Hi @wmrobmuadib! It took me awhile to get to this, but I think I have you covered. The bad news is that, with so many D20s involved, your mechanic requires some computational heavy lifting (at least with respect to
dyce
and other traditional means of enumeration). The good news is that @HighDiceRoller's Icepool provides optimizations that help out a lot.I have a write-up here: 👉👉👉 👈👈👈 [source]
The even better news is that translating between
dyce
and Icepool primitives is straightforward and allows us to useanydyce
's visualization conveniences. I hacked together a small interactive widget that allows you to explore your mechanic in that write-up: