So, trying to figure out how to set up a script for, well, emulating certain dice mechanics is proving a headache.
Specifically, what I'm basically trying to work out is how to emulate is something like the Storyteller system (White Wolf: Exalted and World of Darkness), where you have your pile of dice (10-sided ones, in the case of Storyteller), you roll a number equal to your stat, and count successes, which would be, say, all dice showing 8, 9 or 0. I want to find out how I can set up a die roll with, say, a number of dice equal to an Actor's Atk stat, then check how many dice show each value. (Presumably, the most practical solution would be to output one variable for each possible result - Ones, Twos, Threes and so on - equal to the number of dice with that result, but I'm stumped on how to pull this off.)
Of course, if there's no practical way to do this, then that's that, and I'll have to use other mechanics, but... it'd be nice to be able to emulate the "Count your Successes" mechanic.
I've also got a few secondary uses I could make of it, but that's an extrapolation I think I'd be able to pull off at a later time.
Specifically, what I'm basically trying to work out is how to emulate is something like the Storyteller system (White Wolf: Exalted and World of Darkness), where you have your pile of dice (10-sided ones, in the case of Storyteller), you roll a number equal to your stat, and count successes, which would be, say, all dice showing 8, 9 or 0. I want to find out how I can set up a die roll with, say, a number of dice equal to an Actor's Atk stat, then check how many dice show each value. (Presumably, the most practical solution would be to output one variable for each possible result - Ones, Twos, Threes and so on - equal to the number of dice with that result, but I'm stumped on how to pull this off.)
Of course, if there's no practical way to do this, then that's that, and I'll have to use other mechanics, but... it'd be nice to be able to emulate the "Count your Successes" mechanic.
I've also got a few secondary uses I could make of it, but that's an extrapolation I think I'd be able to pull off at a later time.