Files
Grinch-AP/worlds/lufia2ac/Locations.py
el-u 205c6acb49 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.
2023-11-24 01:59:41 +01:00

17 lines
438 B
Python

from typing import Dict
from BaseClasses import Location
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.overall_max)},
**{f"Iris treasure {i + 1}": (start_id + 0x039C + i) for i in range(9)},
"Boss": start_id + 0x01C2,
}
class L2ACLocation(Location):
game: str = "Lufia II Ancient Cave"