From dc820fa769ac5fd92d2e7516815e98fd3b3e08f7 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: Sun, 28 Jan 2024 16:01:02 -0600 Subject: [PATCH] Initial commit --- data/mods/Magiclysm/effects/effects.json | 112 +++++++++++++++++++++++ 1 file changed, 112 insertions(+) diff --git a/data/mods/Magiclysm/effects/effects.json b/data/mods/Magiclysm/effects/effects.json index c2716dad893ac..be416ee72686c 100644 --- a/data/mods/Magiclysm/effects/effects.json +++ b/data/mods/Magiclysm/effects/effects.json @@ -1101,6 +1101,54 @@ "effect_thorns_electric" ] }, + { + "type": "effect_on_condition", + "id": "EOC_DISPEL_MAGIC_REMOVE_ITEMS", + "eoc_type": "EVENT", + "required_event": "character_gains_effect", + "//": "Removes all summon item or aura-type buffs with Difficulty 6 or less, no attunement powers, and no permanent effects. Unfortunately, it's unable to distinguish between base spells and Improved spells with higher Difficulty.", + "condition": { "compare_string": [ "effect_dispel_magic", { "context_val": "effect" } ] }, + "effect": [ + { "u_remove_item_with": "decaying_boneclub" }, + { "u_remove_item_with": "tentacle_whip" }, + { "u_remove_item_with": "fleshpouch" }, + { "u_remove_item_with": "aura_caustic" }, + { "u_remove_item_with": "item_biomancer_scalpel_fingers" }, + { "u_remove_item_with": "druid_recurve" }, + { "u_remove_item_with": "druid_naturearrows1" }, + { "u_remove_item_with": "druid_quiver" }, + { "u_remove_item_with": "druid_quiver_plus" }, + { "u_remove_item_with": "aura_feral" }, + { "u_remove_item_with": "aura_feral_plus" }, + { "u_remove_item_with": "druid_bandages" }, + { "u_remove_item_with": "arrow_druid" }, + { "u_remove_item_with": "druid_bramble_spear_item" }, + { "u_remove_item_with": "aura_druid_breathing_water" }, + { "u_remove_item_with": "aura_druid_waterwalk" }, + { "u_remove_item_with": "stonefist" }, + { "u_remove_item_with": "aura_stoneskin" }, + { "u_remove_item_with": "eshaper_hammer" }, + { "u_remove_item_with": "eshaper_pickaxe" }, + { "u_remove_item_with": "eshaper_ax" }, + { "u_remove_item_with": "eshaper_knife" }, + { "u_remove_item_with": "eshaper_shovel" }, + { "u_remove_item_with": "finger_firelighter" }, + { "u_remove_item_with": "ice_gliders" }, + { "u_remove_item_with": "shield_ice" }, + { "u_remove_item_with": "armor_frost" }, + { "u_remove_item_with": "flamesword" }, + { "u_remove_item_with": "jar_3l_force" }, + { "u_remove_item_with": "impactsling" }, + { "u_remove_item_with": "stormhammer" }, + { "u_remove_item_with": "stormglove" }, + { "u_remove_item_with": "electric_lighter" }, + { "u_remove_item_with": "flask_ethereal_rebreather" }, + { "u_remove_item_with": "armor_spirit" }, + { "u_remove_item_with": "magic_lamp" }, + { "u_remove_item_with": "technomancer_summoned_radio" }, + { "u_remove_item_with": "technomancer_welder" } + ] + }, { "id": "effect_disjunction", "type": "effect_type", @@ -1176,5 +1224,69 @@ "effect_flame_immunity", "effect_burning_trail" ] + }, + { + "type": "effect_on_condition", + "id": "EOC_DISJUNCTION_REMOVE_ITEMS", + "eoc_type": "EVENT", + "required_event": "character_gains_effect", + "//": "Removes all summon items regardless of source", + "condition": { "compare_string": [ "effect_disjunction", { "context_val": "effect" } ] }, + "effect": [ + { "u_remove_item_with": "decaying_boneclub" }, + { "u_remove_item_with": "tentacle_whip" }, + { "u_remove_item_with": "fleshpouch" }, + { "u_remove_item_with": "aura_caustic" }, + { "u_remove_item_with": "item_biomancer_scalpel_fingers" }, + { "u_remove_item_with": "druid_recurve" }, + { "u_remove_item_with": "druid_naturearrows1" }, + { "u_remove_item_with": "druid_quiver" }, + { "u_remove_item_with": "druid_quiver_plus" }, + { "u_remove_item_with": "aura_feral" }, + { "u_remove_item_with": "aura_feral_plus" }, + { "u_remove_item_with": "druid_bandages" }, + { "u_remove_item_with": "arrow_druid" }, + { "u_remove_item_with": "druid_bramble_spear_item" }, + { "u_remove_item_with": "aura_druid_breathing_water" }, + { "u_remove_item_with": "aura_druid_waterwalk" }, + { "u_remove_item_with": "stonefist" }, + { "u_remove_item_with": "aura_stoneskin" }, + { "u_remove_item_with": "eshaper_hammer" }, + { "u_remove_item_with": "eshaper_pickaxe" }, + { "u_remove_item_with": "eshaper_ax" }, + { "u_remove_item_with": "eshaper_knife" }, + { "u_remove_item_with": "eshaper_shovel" }, + { "u_remove_item_with": "finger_firelighter" }, + { "u_remove_item_with": "ice_gliders" }, + { "u_remove_item_with": "shield_ice" }, + { "u_remove_item_with": "armor_frost" }, + { "u_remove_item_with": "flamesword" }, + { "u_remove_item_with": "jar_3l_force" }, + { "u_remove_item_with": "impactsling" }, + { "u_remove_item_with": "stormhammer" }, + { "u_remove_item_with": "stormglove" }, + { "u_remove_item_with": "electric_lighter" }, + { "u_remove_item_with": "flask_ethereal_rebreather" }, + { "u_remove_item_with": "armor_spirit" }, + { "u_remove_item_with": "magic_lamp" }, + { "u_remove_item_with": "technomancer_summoned_radio" }, + { "u_remove_item_with": "technomancer_welder" }, + { "u_remove_item_with": "druid_thorn_skin_item" }, + { "u_remove_item_with": "bonespear" }, + { "u_remove_item_with": "longsword_holy" }, + { "u_remove_item_with": "technomancer_summoned_ups" }, + { "u_remove_item_with": "alchemist_bomb" }, + { "u_remove_item_with": "alchemist_mine" }, + { "u_remove_item_with": "artificer_toolkit" }, + { "u_remove_item_with": "demon_possession_aura" }, + { "u_remove_item_with": "aura_auroral_guard" }, + { "u_remove_item_with": "holy_shield" }, + { "u_remove_item_with": "longsword_judgement" }, + { "u_remove_item_with": "flarewhip" }, + { "u_remove_item_with": "force_magical_armor" }, + { "u_remove_item_with": "subzero_talons" }, + { "u_remove_item_with": "aura_cold_energy" }, + { "u_remove_item_with": "pocket_sun" } + ] } ]