DelugeRPG S-Battlerv2

automates the stellar battle the first attack and first pokemon and the last one another user's fight here everything is automated if you want to touch a button while you are fighting it will be impossible.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         DelugeRPG S-Battlerv2
// @match        https://www.delugerpg.com/battle/user*
// @version      1.0
// @description  automates the stellar battle the first attack and first pokemon and the last one another user's fight here everything is automated if you want to touch a button while you are fighting it will be impossible.
// @author       Monarc4YT
// @icon         https://i.dstatic.com/images/items/large/masterball.png
// @grant        none
// @namespace    https://greasyfork.org/es/users/1137520
// ==/UserScript==


setInterval(()=>{null==document.querySelector(".modal-open")&&document.querySelector("#attack > div.cardif > form > div.buttoncenter > input:nth-child(1)")?.click()},0);
setInterval(() => {document.querySelector("#battle > form > div.center > input:nth-child(1)").click();
}, 0);
setInterval(() => {
    document.querySelector("#battle > div.notify_done > a.btn.btn-default").click();
}, 0);