mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-10-24 01:35:23 +08:00
Extract the per-attack, target-independent context resolution (attacker village/owner tribe and alliance, war references, base flags) into a private helper. Read-only, behaviour-preserving: the three repeated getCachedUser() lookups on the attacker owner are collapsed into one (the user cache makes them idempotent). Co-Authored-By: Claude Opus 4.8 <[email protected]>