mirror of
https://github.com/DoomKitty87/seafoam.git
synced 2025-01-30 23:05:17 +01:00
fixed pad weirdness with mf
This commit is contained in:
parent
3ab46fa3bd
commit
e462735c6f
1 changed files with 2 additions and 1 deletions
|
@ -535,7 +535,8 @@
|
||||||
for (var i = 0; i < overallPads.length / 3; i++) {
|
for (var i = 0; i < overallPads.length / 3; i++) {
|
||||||
if (overallPads[i * 3] <= sectors[sector][0] + allowedOOB && overallPads[i * 3] > sectors[sector][2] - allowedOOB && overallPads[i * 3 + 2] >= sectors[sector][1] - allowedOOB && overallPads[i * 3 + 2] < sectors[sector][3] + allowedOOB) {
|
if (overallPads[i * 3] <= sectors[sector][0] + allowedOOB && overallPads[i * 3] > sectors[sector][2] - allowedOOB && overallPads[i * 3 + 2] >= sectors[sector][1] - allowedOOB && overallPads[i * 3 + 2] < sectors[sector][3] + allowedOOB) {
|
||||||
if (mfOnly && !oneGemOnly && overallPads[i * 3 + 1] >= 64) continue;
|
if (mfOnly && !oneGemOnly && overallPads[i * 3 + 1] >= 64) continue;
|
||||||
if (mfOnly && oneGemOnly && overallPads[i * 3 + 1] >= 66) continue;
|
if (mfOnly && oneGemOnly && gemType != "topaz" && gemType != "ruby" && (overallPads[i * 3 + 1] >= 68 || overallPads[i * 3 + 1] <= 65)) continue;
|
||||||
|
if (mfOnly && oneGemOnly && (gemType == "topaz" || gemType == "ruby") && overallPads[i * 3 + 1] >= 64) continue;
|
||||||
padCoords.push(overallPads[i * 3]);
|
padCoords.push(overallPads[i * 3]);
|
||||||
padCoords.push(overallPads[i * 3 + 1]);
|
padCoords.push(overallPads[i * 3 + 1]);
|
||||||
padCoords.push(overallPads[i * 3 + 2]);
|
padCoords.push(overallPads[i * 3 + 2]);
|
||||||
|
|
Loading…
Reference in a new issue