fix: match scenario 2601 monthly seed progression

This commit is contained in:
Hide_D committed 2026-08-03 18:56:23 +00:00
1 parent 2f17584075
commit 58b9a230a7
92 files changed
+3696 -587

No files matched your search

@@ -18,7 +18,12 @@ const resolveCityGenerals = <TriggerState extends GeneralTriggerState>(
const list = worldView.listGeneralsByCity
? worldView.listGeneralsByCity(general.cityId)
: worldView.listGenerals().filter((candidate) => candidate.cityId === general.cityId);
return list.filter((candidate) => candidate.id !== general.id);
// Ref reads patients from the primary-key-backed `general` table. Make
// that observed order explicit so the 50% draws stay attached to the
// same general even when Core's in-memory insertion order differs.
return list
.filter((candidate) => candidate.id !== general.id)
.sort((left, right) => left.id - right.id);
};
// 의술 특기의 도시 치료 트리거.