From dbec82f9a76ba91f68c235a2c2dc433306667b5d Mon Sep 17 00:00:00 2001 From: Psithief Date: Sat, 19 Oct 2024 02:55:03 +0800 Subject: [PATCH] Update EFFECT_ON_CONDITION.md Fixed logic in documentation --- doc/EFFECT_ON_CONDITION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/EFFECT_ON_CONDITION.md b/doc/EFFECT_ON_CONDITION.md index 9e0a534ad5ae9..3f31bfba3279d 100644 --- a/doc/EFFECT_ON_CONDITION.md +++ b/doc/EFFECT_ON_CONDITION.md @@ -248,7 +248,7 @@ Checks you are **not** close to refugee center (at least 4 overmap tiles afar) Checks you don't have any traits from the list ```json "condition": { - "or": [ + "and": [ { "not": { "u_has_trait": "HUMAN_ARMS" } }, { "not": { "u_has_trait": "HUMAN_SKIN" } }, { "not": { "u_has_trait": "HUMAN_EYES" } }, @@ -4524,4 +4524,4 @@ Combination of values work as `and`, no matter how they are arranged. This two n ``` ```json "search_data": [ { "category": "weapons", "wielded_only": true } ] -``` \ No newline at end of file +```