debug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Grepolis Remote Control
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 3.6.0
|
||||
// @version 3.6.1
|
||||
// @description Polls grepo.haunter-pets.top for remote commands and executes them in-game (Multi-Player)
|
||||
// @author Dimitrios
|
||||
// @match https://*.grepolis.com/game/*
|
||||
@@ -825,6 +825,9 @@
|
||||
const nowTs = Math.floor(Date.now() / 1000);
|
||||
const townId = spot.attributes.town_id;
|
||||
|
||||
// Debug log to confirm it's checking
|
||||
log(`⚔️ Bandit Monitor -> Cooldown in: ${Math.max(0, spot.attributes.cooldown_at - nowTs)}s | Reward: ${spot.attributes.reward_available}`);
|
||||
|
||||
if (spot.attributes.reward_available) {
|
||||
log('⚔️ Bandit Camp: Reward available! Waiting before claiming...');
|
||||
await sleep(randInt(8000, 24000));
|
||||
|
||||
Reference in New Issue
Block a user