diff --git a/data/json/weather_type.json b/data/json/weather_type.json index 7039d33d12139..9186511a176c5 100644 --- a/data/json/weather_type.json +++ b/data/json/weather_type.json @@ -342,7 +342,9 @@ "condition": { "and": [ { "math": [ "cause_early_portal_storm", "==", "1" ] }, - { "math": [ "distance('_weather_location', 'portal_storm_center')", "<=", "portal_storm_distant_distance" ] } + { + "math": [ "distance(_weather_location, portal_storm_center)", "<=", "value_or(portal_storm_distant_distance, 200)" ] + } ] } }, @@ -370,7 +372,9 @@ "condition": { "and": [ { "math": [ "cause_portal_storm", "==", "1" ] }, - { "math": [ "distance('_weather_location', 'portal_storm_center')", "<=", "portal_storm_distant_distance" ] } + { + "math": [ "distance(_weather_location, portal_storm_center)", "<=", "value_or(portal_storm_distant_distance, 200)" ] + } ] } }, @@ -398,7 +402,9 @@ "condition": { "and": [ { "math": [ "cause_portal_storm", "==", "1" ] }, - { "math": [ "distance('_weather_location', 'portal_storm_center')", "<=", "portal_storm_close_distance" ] } + { + "math": [ "distance(_weather_location, portal_storm_center)", "<=", "value_or(portal_storm_close_distance, 100)" ] + } ] } }, @@ -426,7 +432,9 @@ "condition": { "and": [ { "math": [ "cause_portal_storm", "==", "1" ] }, - { "math": [ "distance('_weather_location', 'portal_storm_center')", "<=", "portal_storm_distance" ] } + { + "math": [ "distance(_weather_location, portal_storm_center)", "<=", "value_or(portal_storm_distance, 50)" ] + } ] } }