This commit is contained in:
Boki 2026-02-26 20:45:24 -05:00
parent 53641fc8e7
commit 657d307485
28 changed files with 2045 additions and 161 deletions

View file

@ -229,7 +229,7 @@ public class KulemakExecutor : MappingExecutor
SetState(MappingState.WalkingToEntrance);
Log.Information("Walking to Black Cathedral entrance (W+D)");
return await WalkAndMatch(BlackCathedralTemplate, InputSender.VK.W, InputSender.VK.D, 15000);
return await WalkAndMatch(BlackCathedralTemplate, InputSender.VK.W, InputSender.VK.D, 10000);
}
private async Task<bool> UseInvitation(int x, int y)
@ -335,21 +335,21 @@ public class KulemakExecutor : MappingExecutor
}
Log.Information("Phase {Phase} done, walking to well", phase);
await Sleep(500);
await Sleep(100);
await WalkToWorldPosition(wellWorldX, wellWorldY);
await Sleep(500);
if (!await TryClickWell())
await Sleep(100);
for (var attempt = 0; attempt < 5; attempt++)
{
Log.Warning("Well not found, walking A+W to get closer");
if (await TryClickWell()) break;
Log.Warning("Well not found (attempt {Attempt}), walking A+W to get closer", attempt + 1);
await _game.KeyDown(InputSender.VK.A);
await _game.KeyDown(InputSender.VK.W);
await Sleep(1500);
await _game.KeyUp(InputSender.VK.W);
if(attempt == 0) await _game.KeyDown(InputSender.VK.W);
await Sleep(1000);
await _game.KeyUp(InputSender.VK.A);
await Sleep(500);
await TryClickWell();
if(attempt == 0) await _game.KeyUp(InputSender.VK.W);
await Sleep(100);
}
await Sleep(200);
await Sleep(1500);
await WalkToWorldPosition(fightWorldX + 20, fightWorldY +20, cancelWhen: IsBossAlive);
}
@ -378,7 +378,7 @@ public class KulemakExecutor : MappingExecutor
}
Log.Information("Ring phase: using fightArea=({FX:F0},{FY:F0})", fightWorldX, fightWorldY);
await WalkToWorldPosition(-440, -330);
await WalkToWorldPosition(-450, -340);
await Sleep(1000);
if (_stopped) return;