fixed dropping off by one

This commit is contained in:
Lilith Schier 2026-08-13 12:22:31 +02:00
parent 8e2f75d624
commit 2ed3a82b79

View file

@ -188,7 +188,7 @@ impl Expression {
}
}
if let Some(dh) = dh {
if rolls.len() - 1 - rank <= dh {
if rolls.len() - 1 - rank < dh {
skip = true;
}
}
@ -198,7 +198,7 @@ impl Expression {
}
}
if let Some(dl) = dl {
if rank <= dl {
if rank < dl {
skip = true;
}
}