lufia2ac: fix client behavior at max blue chests combined with party member or capsule monster shuffle (#2478)

When option combinations at (or near) the maximum location count were used, the client could trip over a wrongly coded limit and stop sending checks.
This commit is contained in:
el-u
2023-11-24 01:59:41 +01:00
committed by GitHub
parent 2f6b6838cd
commit 205c6acb49
4 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ from .Options import BlueChestCount
start_id: int = 0xAC0000
l2ac_location_name_to_id: Dict[str, int] = {
**{f"Blue chest {i + 1}": (start_id + i) for i in range(BlueChestCount.range_end + 7 + 6)},
**{f"Blue chest {i + 1}": (start_id + i) for i in range(BlueChestCount.overall_max)},
**{f"Iris treasure {i + 1}": (start_id + 0x039C + i) for i in range(9)},
"Boss": start_id + 0x01C2,
}