mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-01 01:54:22 +00:00
e167322d12
Move the in-village defender casualty handling (kill ratio applied to the defender's own troops + hero, persisted via modifyUnit) out of the giant sendunitsComplete() loop into a dedicated private method returning the $owndead map. Pure behaviour-preserving extraction; also drops a dead $u variable that was assigned but never read. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>