attack now button
This commit is contained in:
@@ -52,6 +52,13 @@ async function pollAndExecute() {
|
||||
lastKnownFarmSettings = cmdData.farm_settings || {};
|
||||
lastKnownBotSettings = cmdData.bot_settings || {};
|
||||
|
||||
// Handle manual bootcamp attack trigger
|
||||
if (lastKnownBotSettings.attack_now) {
|
||||
log('Manual bootcamp attack requested! Firing immediately...');
|
||||
// Fire asynchronously so it doesn't block the rest of pollAndExecute
|
||||
setTimeout(autoBootcampLoop, 0);
|
||||
}
|
||||
|
||||
// Feature flags — default to all on if server doesn't send them (backward compatible)
|
||||
const features = cmdData.enabled_features || ['farm', 'admin'];
|
||||
const farmOn = features.includes('farm');
|
||||
|
||||
Reference in New Issue
Block a user