diff --git a/GolemHelper/Automation/AutomationLogic.cpp b/GolemHelper/Automation/AutomationLogic.cpp index 147d74f..e9381e3 100644 --- a/GolemHelper/Automation/AutomationLogic.cpp +++ b/GolemHelper/Automation/AutomationLogic.cpp @@ -205,14 +205,14 @@ void AutomationLogic::ApplyGolemSettings() { } char startBuffer[400]; - sprintf_s(startBuffer, "Starting golem settings sequence (24 steps) - Modifiers: %s, Hitbox: %s", modifiers.c_str(), hitbox); + sprintf_s(startBuffer, "Starting golem settings sequence (25 steps) - Modifiers: %s, Hitbox: %s", modifiers.c_str(), hitbox); g_api->Log(ELogLevel_INFO, "GolemHelper", startBuffer); try { g_api->GameBinds.InvokeAsync(EGameBinds_MiscInteract, 50); Sleep(g_state.initialDelay); - for (int i = 0; i < 24; i++) { + for (int i = 0; i < 25; i++) { if (g_coords.golemStepX[i] == 0 && g_coords.golemStepY[i] == 0) { continue; } @@ -238,7 +238,7 @@ void AutomationLogic::ApplyGolemSettings() { } } - int delay = (i == 23) ? 50 : g_state.stepDelay; + int delay = (i == 24) ? 50 : g_state.stepDelay; if (i == 14) { CoordinateUtils::ClickAtScaled(currentX, currentY, delay); @@ -277,5 +277,5 @@ void AutomationLogic::ApplyGolemSettings() { g_state.showUI = true; } - g_api->Log(ELogLevel_INFO, "GolemHelper", "Golem settings sequence completed (24 steps)!"); + g_api->Log(ELogLevel_INFO, "GolemHelper", "Golem settings sequence completed (25 steps)!"); } \ No newline at end of file diff --git a/GolemHelper/Common/Types.h b/GolemHelper/Common/Types.h index 7791a27..e1374df 100644 --- a/GolemHelper/Common/Types.h +++ b/GolemHelper/Common/Types.h @@ -90,16 +90,16 @@ struct GolemHelperState { }; struct MenuCoordinates { - int golemStepX[24] = { + int golemStepX[25] = { 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, - 830, 830, 830, 830 + 830, 830, 830, 830, 830 }; - int golemStepY[24] = { + int golemStepY[25] = { 260, 260, 306, 257, 257, 306, 257, 306, 352, 400, 454, 508, 352, 257, 306, 454, 400, 306, 352, 400, - 454, 454, 454, 548 + 454, 400, 454, 454, 548 }; int boonStepX[20] = {