mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-22 15:45:04 -07:00
Update docs/world api.md
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
@@ -758,7 +758,7 @@ def can_defeat_enemy(state: CollectionState, player: int, enemy: str) -> bool:
|
||||
return enemy in state.defeatable_enemies
|
||||
```
|
||||
|
||||
This can help quite significantly because it is possible for 0 local access rules to be called between two calls to
|
||||
This can help significantly because it is possible for 0 local access rules to be called between two calls to
|
||||
`collect`, so recalculating on every `collect` is very slow.
|
||||
|
||||
Only use LogicMixin if necessary. There are often other ways to achieve what it does, like making clever use of
|
||||
|
||||
Reference in New Issue
Block a user