您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Player Autoheal
// ==UserScript== // @name Player AutoHeal // @namespace http://tampermonkey.net/ // @version v1.1 // @description Player Autoheal // @author Vengeance // @match http//zombs.io/ // @grant none // ==/UserScript== (function() { heal = document.getElementbyClassName('hud-shop-item')[9]; Petheal = document.getElementbyClassName('hud-shop-item')[10]; useheal = document.getElementbyClassName('hud-toolbar-item')[4]; usePetheal = document.getElementbyClassName('hud-toolbar-item')[5]; healthBar = document.getElementbyClassName('hud-heath-bar-inner')[0]; up = new Event('mouseup'); healLevel = 70 HEAL = function(){ heal.attributes.class.value = 'hud-shop-item'; petHeal.attributes.class.value = 'hud-shop-item'; useHeal.dispatchEvent(up); usePetHeal.dispatchEvent(up); heal.click(); petheal(); }; script = function(e){ if(e.keyCode == 82){ HEAL(); } }; document.add.Eventlistener('keydown',function(e){ script(e); }); observer = new mutationObserver(function(e){ mutation.forEach(function(mutationRecord) { if(parsint(mutations[0].target.style.width) < healLevel){ HEAL(); } }); }); observer.observe(healthBar, { attributes : true , attributeFilter : ['style'] }); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址