您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
++WeaponEffects demo, only short sword and a very simple animation
当前为
// ==UserScript== // @name ++WeaponEffects Demo // @version 1 // @description ++WeaponEffects demo, only short sword and a very simple animation // @author Perussi // @match *://moomoo.io/* // @grant none // @namespace https://greasyfork.org/users/128061 // ==/UserScript== // <3 Jesus var mk = document.getElementById("gameCanvas").getContext("2d"); var Caa = 0; var Cab = 0; var aVZ = 0; // Katana var fBX = "<3 KatieW."; // 1920///1080 function testArc(){ // Katana (tst) if(document.getElementById("actionBarItem3")){ if(document.getElementById("actionBarItem3").style.display === "inline-block"){ if(fBX !== 3){ // WILL CHANGE "3" HERE aVZ = [0]; fBX = 3; } aVZ[0] += 1; if(480 <= aVZ){ aVZ[0] = 0; } mk.beginPath(); mk.lineWidth = 25; mk.strokeStyle = "#dc0000"; mk.arc(1920/2,1080/2,200,0+Math.PI/240*aVZ,2/3*Math.PI+Math.PI/240*aVZ); mk.stroke(); } } } function letThereBeLight(){ testArc(); window.requestAnimationFrame(letThereBeLight); } window.requestAnimationFrame(letThereBeLight);