# Any Dice Help - Reroll 1's in dice pools [duplicate]

I have made some progress in AnyDice showing the probability for dice resolution system in the RPG system I've been working on. Here is the link to what I have so far: https://anydice.com/program/16e4a

I need particular help on when a roll gets a 2 or 3 that that die can be rerolled once. I am interested to see how this alters the probability of success.

• Welcome to rpg.se! Take the tour and visit the help center for more information. This a good first question. Thanks for contributing and happy gaming! Aug 1 '19 at 1:39

## ROLL: NDICEd{{1,4..6}:3, {1..6}}
Also, you can replace your function with SUCCESS: [count {4..6} in ROLL] > NTARGET.