您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Another Auto Clicker for More Ore (working as of v1.5.7 Beta). Clicks weak spots (with a randomized delay), manual attacks for quests, gold nuggets, and hulk smashes.
当前为
// ==UserScript== // @name Another Auto Clicker for More Ore // @namespace Violentmonkey Scripts // @match https://syns.studio/more-ore/ // @grant none // @version 1.5.5 // @author BlueberryPir8 // @icon https://syns.studio/more-ore/misc-tinyRock.22ef93dd.ico // @license MIT // @compatible firefox >=52 // @compatible chrome >=57 // @compatible edge >=14 // @description Another Auto Clicker for More Ore (working as of v1.5.7 Beta). Clicks weak spots (with a randomized delay), manual attacks for quests, gold nuggets, and hulk smashes. // ==/UserScript== /* jshint esversion: 6 */ Element.prototype._addEventListener = Element.prototype.addEventListener; Element.prototype.addEventListener = function (...args) { const weakSpot = this.classList?.contains('weak-spot') ? 'Weak Spot' : null; const manualAttack = this.classList?.contains('manual-attack') ? 'Manual Attack' : null; const questComplete = this.classList?.contains('quest-banner-container') && (this.querySelector('.quest-success') || this.querySelector('.quest-failed')) ? 'Quest Complete' : null; if (!(weakSpot || manualAttack || questComplete)) { this._addEventListener(...args); return; } let cb = args[1]; args[1] = function cbOverride(...args2) { args2[0] = Object.assign({}, args2[0]); args2[0].isTrusted = true; return cb(...args2); }; return this._addEventListener(...args); }; const SHORT_TIMEOUT = 50; const LONG_TIMEOUT = 200; let prev; let shortTimer = 0; let longTimer = 0; let priorityClick = false; function frame(ts) { if (!prev) { prev = ts; } const delta = ts - prev; shortTimer += delta; longTimer += delta; if (shortTimer > SHORT_TIMEOUT) { if (!priorityClick) { if (document.querySelector('.weak-spot')) { document.querySelector('.weak-spot').click(); } } shortTimer = shortTimer % SHORT_TIMEOUT; } if (longTimer > LONG_TIMEOUT) { if (!priorityClick) { if (document.querySelector('.manual-attack')) { if ( !document.querySelector('.quest-banner-container > .quest-success') && !document.querySelector('.quest-banner-container > .quest-failed') ) { priorityClick = true; setTimeout(() => { document.querySelector('.manual-attack')?.click(); priorityClick = false; }, LONG_TIMEOUT); } else { priorityClick = true; setTimeout(() => { document.querySelector('.quest-banner-container')?.click(); priorityClick = false; }, LONG_TIMEOUT); } } if (document.querySelector('.gold-nugget-container')) { priorityClick = true; setTimeout(() => { document.querySelector('.gold-nugget-container')?.click(); priorityClick = false; }, LONG_TIMEOUT); } if (document.querySelector('.active-skill-hulkSmash')) { const elem = document.querySelector('.active-skill-hulkSmash'); if (!elem?.classList?.contains('on-cooldown')) { priorityClick = true; setTimeout(() => { elem.click(); priorityClick = false; }, LONG_TIMEOUT); } } } longTimer = longTimer % LONG_TIMEOUT; } prev = ts; window.requestAnimationFrame(frame); } window.requestAnimationFrame(frame);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址