public ChanceResult ChanceCheckSimple(int difficulty) { ChanceResult result = ChanceCheck(difficulty); if (result == ChanceResult.CRIT_FAIL) { return(ChanceResult.FAIL); } if (result == ChanceResult.CRIT_SUCCESS) { return(ChanceResult.SUCCESS); } return(result); }
public ChanceResult ChanceCheck(int difficulty) { HandleCurrentResultListRefresh(); ChanceResult result = GetChanceResult(currentResultList[0], difficulty); currentResultList.RemoveAt(0); if (result == ChanceResult.CRIT_FAIL || result == ChanceResult.FAIL) { failures++; } if (result == ChanceResult.CRIT_SUCCESS || result == ChanceResult.SUCCESS) { successes++; } return(result); }