From 7b097c918ef4bebf89984a00d661e156e68ad3d8 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Sat, 21 Sep 2024 19:13:10 +0200 Subject: [PATCH] Update docs/world api.md Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> --- docs/world api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/world api.md b/docs/world api.md index 73b5aae243..8c8bd91fee 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -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