From 9415f6701ccdeaee6be08f9331f598e9ba64cdd7 Mon Sep 17 00:00:00 2001 From: Surflurer <22912139+Surflurer@users.noreply.github.com> Date: Fri, 30 Aug 2024 22:21:57 +0800 Subject: [PATCH] prevent imperfect doll to be activated multiple times --- .../nether_eocs/vitrification_effect_on_condition.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/data/json/effects_on_condition/nether_eocs/vitrification_effect_on_condition.json b/data/json/effects_on_condition/nether_eocs/vitrification_effect_on_condition.json index 7a17305016a22..7d5bd6ffa6a97 100644 --- a/data/json/effects_on_condition/nether_eocs/vitrification_effect_on_condition.json +++ b/data/json/effects_on_condition/nether_eocs/vitrification_effect_on_condition.json @@ -15,7 +15,8 @@ "type": "neutral", "popup": true }, - { "math": [ "u_vitri_glass_entered", "=", "1" ] } + { "math": [ "u_vitri_glass_entered", "=", "1" ] }, + { "math": [ "u_back_from_vitri_glass", "=", "0" ] } ] }, { @@ -364,7 +365,11 @@ { "type": "effect_on_condition", "id": "EOC_queue_unvitrified_return", - "effect": { "queue_eocs": "EOC_unvitrified_return", "time_in_future": "1 seconds" } + "condition": { "math": [ "u_back_from_vitri_glass", "<", "1" ] }, + "effect": [ + { "queue_eocs": "EOC_unvitrified_return", "time_in_future": "1 seconds" }, + { "math": [ "u_back_from_vitri_glass", "=", "1" ] } + ] }, { "type": "effect_on_condition",