Results 1 to 7 of 7
Thread: Help with probabilities
-
2012-09-09, 10:07 AM (ISO 8601)
- Join Date
- May 2012
- Location
- Brazil
- Gender
Help with probabilities
I'm designing my own system and I'm havin trouble calculating probabilities.
I'm using the 'roll X, keep Y' dice roll method, which seems like the most commons. However, instead of adding together, I'm just using counting - kind of like old Storyteller, but instead of a single number, you count duplicates.
So if you roll 2, 2, 3, 4, 5 you have one success (the 2s), if roll 1, 1, 1, 1, 6, 6 you have three degrees of success (the 1s).
How can I calculate the probabilities for this system?
-
2012-09-09, 04:51 PM (ISO 8601)
- Join Date
- Jun 2011
- Gender
Re: Help with probabilities
I've rigged up an AnyDice program that should do the job. It could still use a bit more testing to be sure, but 1 and 2 dice are correct, and 3, 4, and 5 seem plausible.
The basic principle derived from that is that any of the six numbers has an equal chance of being most common, so you can decrement the number of dice, and count how many are equal to each chosen initial number in the remaining dice, then take the highest count. (I suspect there's a way to make this recursive, but I didn't bother.)Last edited by TuggyNE; 2012-09-09 at 04:57 PM. Reason: Adjusting link
Projects: Homebrew, Gentlemen's Agreement, DMPCs, Forbidden Knowledge safety, and Top Ten Worst. Also, Quotes and RACSD are good.
Anyone knows blue is for sarcas'ing in · "Take 10 SAN damage from Dark Orchid" · Use of gray may indicate nitpicking · Green is sincerity
-
2012-09-09, 08:02 PM (ISO 8601)
- Join Date
- Sep 2009
Re: Help with probabilities
You have to compensate, though, for the chance that there will be a tie as to which is the most common. "three 1s and three 6s" doesn't get to count twice.
-
2012-09-09, 08:24 PM (ISO 8601)
- Join Date
- Jun 2011
- Gender
Re: Help with probabilities
The given code takes that into account; it returns the highest count, and nothing more. So if you roll 6d6 and get three 1s and three 6s, it returns 3 from the 6s, which happens to be valid enough.
Projects: Homebrew, Gentlemen's Agreement, DMPCs, Forbidden Knowledge safety, and Top Ten Worst. Also, Quotes and RACSD are good.
Anyone knows blue is for sarcas'ing in · "Take 10 SAN damage from Dark Orchid" · Use of gray may indicate nitpicking · Green is sincerity
-
2012-09-11, 01:27 AM (ISO 8601)
- Join Date
- May 2012
- Location
- Brazil
- Gender
Re: Help with probabilities
Thanks a lot, that's very helpful.
How would the possibility to roll more dice than you keep change that curve?
-
2012-09-11, 02:30 AM (ISO 8601)
- Join Date
- Jun 2011
- Gender
Re: Help with probabilities
Well, specifically? If it's just "keep X dice that you like out of Y", then it would basically mean that you'd take the existing curve for Y dice and cap it at X - 1 successes (which changes very little). If it's something more complicated you'll have to spell it out, sorry.
Projects: Homebrew, Gentlemen's Agreement, DMPCs, Forbidden Knowledge safety, and Top Ten Worst. Also, Quotes and RACSD are good.
Anyone knows blue is for sarcas'ing in · "Take 10 SAN damage from Dark Orchid" · Use of gray may indicate nitpicking · Green is sincerity
-
2012-09-11, 05:09 AM (ISO 8601)
- Join Date
- May 2012
- Location
- Brazil
- Gender