scroll.server/crates/logic
WiseDev a9a2e048ee match the client's collision cap, move cap, and overtime mana
three more confirmed divergences, all in the sim math.

collision: the client normalises the averaged shove to a fixed 150
(updateMovementTowards), not to a fraction of the unit's speed. we had
capped it at speed/2 - a value i introduced to stop crowds shoving
troops off the map; 150 does the same job and is what the client hashes.

movement: the client steps min(speed, 250) toward the waypoint each
tick. we used raw speed with no per-tick cap, so any unit faster than
250 or buffed drifted ahead of the client. the 250 cap is in now; the
buff multiplier is a no-op until a buff system exists.

mana: past the match length the client flips to overtime - getSecondsLeft
adds the overtime length and getRegenRate switches to MANA_REGEN_MS
_OVERTIME. we never set is_on_overtime and had no overtime branch, so
mana regen diverged for the whole of overtime. it now flips the flag and
selects the overtime rate.

harness still green, crowd still cannot shove a troop past the towers.
2026-08-24 09:42:26 +03:00
..
src match the client's collision cap, move cap, and overtime mana 2026-08-24 09:42:26 +03:00
Cargo.toml move players and accounts into postgres 2026-08-23 08:40:13 +03:00