mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-20 22:35:30 -07:00
Update world api.md
This commit is contained in:
@@ -747,7 +747,7 @@ and check whether they **became locked**.
|
||||
|
||||
There are a multitude of other ways you can optimise LogicMixin. Some games use a `mygame_state_is_stale`
|
||||
variable that they simply initialize as True, and set to True in collect/remove.
|
||||
The calls to the actual recalculating functions are then moved to the start of the actual relevant access rules like this:
|
||||
The calls to the actual recalculating functions are then moved to the start of the relevant access rules like this:
|
||||
|
||||
```python
|
||||
def can_defeat_enemy(state: CollectionState, player: int, enemy: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user