From 0eaf2c3034825593ab48d8f74423b342f143716c Mon Sep 17 00:00:00 2001 From: Anton Simakov <67688115+GuardianDll@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:35:09 +0200 Subject: [PATCH] stop using premotion if you don't have premotion --- .../MindOverMatter/npcs/dialogue/portal_future_you.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/mods/MindOverMatter/npcs/dialogue/portal_future_you.json b/data/mods/MindOverMatter/npcs/dialogue/portal_future_you.json index 1790005e2e40c..c3bff9a73760f 100644 --- a/data/mods/MindOverMatter/npcs/dialogue/portal_future_you.json +++ b/data/mods/MindOverMatter/npcs/dialogue/portal_future_you.json @@ -6,7 +6,12 @@ { "text": "[Premonition] *Determine if the voice is a threat*", "topic": "TALK_PORTAL_STORM_DANGER_SENSE_FAIL", - "condition": { "math": [ "u_spell_level('clair_danger_sense')", "<=", "7" ] } + "condition": { + "and": [ + { "math": [ "u_spell_level('clair_danger_sense')", "<=", "7" ] }, + { "math": [ "u_spell_level('clair_danger_sense')", "!=", "-1" ] } + ] + } }, { "text": "[Premonition 8+] *Determine if the voice is a threat*",