`if (value > chanceOfFailure) { return State.Failure; } return State.Success;` Currently, you have this when it should be `if (value < chanceOfFailure) { return State.Failure; } return State.Success;`
if (value > chanceOfFailure) { return State.Failure; } return State.Success;Currently, you have this when it should be
if (value < chanceOfFailure) { return State.Failure; } return State.Success;