diff --git a/Games/Arena_of_Valor/AWC_AutoSpin.js b/Games/Arena_of_Valor/AWC_AutoSpin.js index e7e385a..1ba9e3f 100644 --- a/Games/Arena_of_Valor/AWC_AutoSpin.js +++ b/Games/Arena_of_Valor/AWC_AutoSpin.js @@ -60,7 +60,6 @@ await fetch("https://code.jquery.com/jquery-3.6.0.min.js").then(x => x.text()).t if (!disableChest) { clickFirstButtonByClassName("chest") } - document.getElementById("widget2").dispatchEvent(new MouseEvent("click")); } function pickCard() { @@ -85,6 +84,7 @@ await fetch("https://code.jquery.com/jquery-3.6.0.min.js").then(x => x.text()).t else { let swal2msg = document.getElementsByClassName("popup-alert__message") if (swal2msg.length > 0) { + console.log(swal2msg[0].innerHTML) if (swal2msg[0].innerHTML == "Đã đạt đến giới hạn Rương đếm ngược hàng ngày") { disableChest = true }