Skip to content

Commit

Permalink
fix: 进入招募时误点物品栏
Browse files Browse the repository at this point in the history
  • Loading branch information
Zebartin committed Apr 5, 2023
1 parent 3cce80f commit ebfaf2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NIKKE/NIKKE日常.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,9 @@ function 单次咨询(advise) {
function 社交点数招募() {
if (NikkeToday() == NIKKEstorage.get('dailyMissionRecruit', null))
return;
clickRect(ocrUntilFound(res => res.find(e => e.text.includes('员招')), 40, 1000));
clickRect(ocrUntilFound(res => res.find(e =>
e.text.includes('员招') && e.text.match(/[物品栏]/) == null
), 40, 1000));
ocrUntilFound(res => res.text.match(/(招募\d+|机率)/) != null, 50, 500);
let socialPage = ocrUntilFound(res => {
if (res.text.match(/[杜社]交点数/))
Expand Down

0 comments on commit ebfaf2d

Please sign in to comment.