Hi yes, I have to make a correction in a range of only 3 points
if (Level == minimum value -1) {Level = minimum value;}
if (Level == minimum value -2) {Level = minimum value;}
if (Level == minimum value -3) {Level = minimum value;}
as I did it works perfectly but I wanted to optimize the code maybe unifying in a single IF.