feat(SNNBot): fire bullets every tick at fixed power

Fire during WAITING phase using FIRE_POWER constant (matches error
signal's bullet speed calculation). Always shooting — fire timing
optimization is out of scope for this map.
This commit is contained in:
2026-09-14 22:30:28 +02:00
parent 42b6cebd8e
commit a78105c894
+1
View File
@@ -455,6 +455,7 @@ method run*(bot: SNNBot) =
of WAITING:
aimTo(bot.targetAngle, gunDir)
discard setFire(FIRE_POWER)
let err = abs(normalizeRelativeAngle(bot.targetAngle - gunDir))
if err < AIM_TOL:
bot.phase = EVALUATE