From f17c884b8f9b45ef777e497f9bd829220856876d Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Mon, 23 Sep 2024 14:01:04 -0500 Subject: [PATCH] Initial commit --- data/mods/Magiclysm/effects/effects.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/data/mods/Magiclysm/effects/effects.json b/data/mods/Magiclysm/effects/effects.json index 1fac7f45cd59b..bdc52d788c48d 100644 --- a/data/mods/Magiclysm/effects/effects.json +++ b/data/mods/Magiclysm/effects/effects.json @@ -1223,6 +1223,16 @@ "removes_effects": [ "bleed" ], "enchantments": [ { + "condition": { + "or": [ + { "math": [ "u_hp('arm_l')", "<", "u_hp_max('arm_l')" ] }, + { "math": [ "u_hp('arm_r')", "<", "u_hp_max('arm_r')" ] }, + { "math": [ "u_hp('leg_l')", "<", "u_hp_max('leg_l')" ] }, + { "math": [ "u_hp('leg_r')", "<", "u_hp_max('leg_r')" ] }, + { "math": [ "u_hp('torso')", "<", "u_hp_max('torso')" ] }, + { "math": [ "u_hp('head')", "<", "u_hp_max('head')" ] } + ] + }, "intermittent_activation": { "effects": [ { "frequency": "1 seconds", "spell_effects": [ { "id": "flask_regeneration_effect" } ] } ] } } ],