Skip to main content
14 events
when toggle format what by license comment
Apr 19, 2019 at 19:13 comment added Irrehaare @vicky_molokh yep it not only works perfectly but is also elegant and simple, easy to modify and play with, which is exactly what i need.
Apr 19, 2019 at 19:11 vote accept Irrehaare
Apr 19, 2019 at 14:33 comment added Ifusaso 'he-him' I stand corrected. I guess it doesn't account for the difference between the 2 rolls like I thought it would
Apr 19, 2019 at 14:16 comment added Irrehaare @Ifusaso I though about it, but no: {2, 19, 19} with 16 in attribute and 1 in skill would be calculated as a pass while it isn't.
Apr 19, 2019 at 13:44 comment added Irrehaare After quick check it looks awesome, I'll confirm this evening when I'll have more time.
Apr 19, 2019 at 13:42 comment added Surpriser I think the main reason why this answer works is the special behaviour of anydice in the case where dice are passed as sequence-type function parameters. (Namely that anydice then applies the function for each possible sequence of values for those dice and computes a new die from the distribution of the results.)
Apr 19, 2019 at 13:36 comment added Ryan C. Thompson I think this is the right approach: compute what skill value would be required to make the roll a success, then compare that to the actual skill value.
Apr 19, 2019 at 13:35 history edited Ryan C. Thompson CC BY-SA 4.0
fix code indentation
Apr 19, 2019 at 13:16 comment added vicky_molokh- unsilence Monica @Irrehaare Is this what you're looking for?
Apr 19, 2019 at 13:16 history edited vicky_molokh- unsilence Monica CC BY-SA 4.0
* rewritten the whole thing based on new info
Apr 19, 2019 at 12:51 comment added Irrehaare Exactly, thank you. That is what makes it so difficult, as subtraction is conditional.
Apr 19, 2019 at 12:31 comment added Ryan C. Thompson The OP's description isn't clear, but from the examples, it sounds like the skill value is not subtracted from every roll, but rather represents a pool of points to subtract from individual rolls. For example, with a skill of 5, one could subtract 3 from one roll and 2 from another, rather than subtracting 5 from both.
Apr 19, 2019 at 12:21 history edited vicky_molokh- unsilence Monica CC BY-SA 4.0
added 123 characters in body
Apr 19, 2019 at 12:14 history answered vicky_molokh- unsilence Monica CC BY-SA 4.0