From e45ad4f8d74f298904e587612b5c657b7d367cd3 Mon Sep 17 00:00:00 2001 From: Acentech Dev Date: Tue, 21 Jul 2026 12:35:17 +0300 Subject: [PATCH] feat(hs): spawn statues+guards at random walkable spots (hunt-the-statue) Instead of a fixed lane, each statue (and its 4 guards) now spawns at a random walkable coordinate anywhere on the map; breaking one reveals the next at a new random spot, so players must search for it. Falls back to the fixed positions. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/GameLogic/MiniGames/HeykelSavasiContext.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GameLogic/MiniGames/HeykelSavasiContext.cs b/src/GameLogic/MiniGames/HeykelSavasiContext.cs index 9c49f60..20f9f5d 100644 --- a/src/GameLogic/MiniGames/HeykelSavasiContext.cs +++ b/src/GameLogic/MiniGames/HeykelSavasiContext.cs @@ -654,7 +654,10 @@ public class HeykelSavasiContext : MiniGameContext return; } - var pos = positions[index]; + // Each statue (and its guards) spawns at a RANDOM walkable spot anywhere on the map, so + // after breaking one statue players must hunt for the next one across the arena. Falls back + // to the fixed line position if the terrain can't yield a random coordinate. + var pos = this.Map.Terrain.RandomWalkableCoordinate ?? positions[index]; var statueDefinition = this._gameContext.Configuration.Monsters.FirstOrDefault(m => m.Number == StatueMonsterNumber); if (statueDefinition is null)