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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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);