Skip to content

Commit

Permalink
修复小米机型颜色问题导致的无法找到任务
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsterNone committed Jan 17, 2022
1 parent 6dda501 commit 56e3328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start_jd.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ try {
continue
}
let color = img.pixel(x, y)
let compare = colors.isSimilar(color, '#d6413f') || colors.isSimilar(color, '#d54c4c') || colors.isSimilar(color, '#d03b3b')
let compare = colors.isSimilar(color, '#d6413f') || colors.isSimilar(color, '#d54c4c') || colors.isSimilar(color, '#d03b3b') || colors.isSimilar(color, '#c9403e')
console.log(taskText, colors.toString(color), x, y, compare)
if (compare) {
if (!join && taskText.match(/成功入会/)) continue
Expand Down

0 comments on commit 56e3328

Please sign in to comment.