-
Welcome to this (mildly) advanced Python tutorial! Today we'll be writing a script to mimic a common real-world action. If you've ever played a tabletop game, you know there are many dice rolls to mak…
-
After the "Roll Dice" step of combat:
You may exhaust this card. If you do, hits are not assigned to either players' units. Return to the start of this combat round's "Roll Dice" step
-
Once you can drag white dice, and mark the spotted value, then it's time for awesomeness.
Normal gameplay with the roller would work like this:
Touch a card to activate a frame, assign your white di…
-
RPG Bot should have a dice roller. This should follow the standard NdD+C format with the following features:
* NdD should roll N number of D-sided die. For example 5d6 should roll 5 6-sided dice.
…
-
I have code:
```
from itertools import product
def prob(dice, pips, target):
rolls = product(range(1, pips+1), repeat=dice)
targets = sum(1 for roll in rolls if sum(roll) == target)
…
-
It would be nice to be able to have dice that explode downward. It would re-roll and then subtract the resultant roll.
For example on a roll of 1 on a 1d6, it would roll again (say a 5 this time)…
-
I tried to see if I could find this among the feature requests but I could not. Some games have the mechanic that (infinate) exploding dice can be blocked/cancelled out by another dice.
Example: d1…
-
Let's add some flavor to our responses, dependent on how we roll. We can do this by using conditionals. We'll put a command that only triggers if a certain condition is met. For example, let's add "Cr…
-
When playing some systems you need individual values for multiple dice at the same time. (Ironsworn for example)
There you might want to have a roll like:
`dice: Face Danger 1d6+3 vs 1d10, 1d10`…
-
From https://discord.com/channels/170995199584108546/872553750877835264/960638228619219075
---
All modules disabled? Yes.
OS: W10, native app
Bug: For formulas where dice explode on more than one fa…