From 5b60d442ee6c884e75a34347754c819ef5e666e9 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: Thu, 19 Dec 2024 16:18:56 -0600 Subject: [PATCH 1/4] Initial commit --- data/mods/Magiclysm/eoc_mana_cost_edits.json | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 data/mods/Magiclysm/eoc_mana_cost_edits.json diff --git a/data/mods/Magiclysm/eoc_mana_cost_edits.json b/data/mods/Magiclysm/eoc_mana_cost_edits.json new file mode 100644 index 0000000000000..72289c7d3d4c1 --- /dev/null +++ b/data/mods/Magiclysm/eoc_mana_cost_edits.json @@ -0,0 +1,26 @@ +[ + { + "type": "effect_on_condition", + "id": "EOC_MAGICLYSM_MANA_COST_ON_SPELL_FAILURE", + "eoc_type": "EVENT", + "required_event": "spellcasting_finish", + "condition": { + "and": [ + { + "or": [ + { "compare_string": [ "ANIMIST", { "context_val": "school" } ] }, + { "compare_string": [ "BIOMANCER", { "context_val": "school" } ] }, + { "compare_string": [ "DRUID", { "context_val": "school" } ] }, + { "compare_string": [ "EARTHSHAPER", { "context_val": "school" } ] }, + { "compare_string": [ "KELVINIST", { "context_val": "school" } ] }, + { "compare_string": [ "MAGUS", { "context_val": "school" } ] }, + { "compare_string": [ "STORMSHAPER", { "context_val": "school" } ] }, + { "compare_string": [ "TECHNOMANCER", { "context_val": "school" } ] } + ] + }, + { "math": [ "_success == false" ] } + ] + }, + "effect": [ { "math": [ "u_val('mana') -= ( _cost / 5 )" ] } ] + } +] From 25df8922540a428779dc10f4818acfb8be53e5a7 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: Thu, 19 Dec 2024 16:26:46 -0600 Subject: [PATCH 2/4] Add attunements --- data/mods/Magiclysm/eoc_mana_cost_edits.json | 32 +++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/data/mods/Magiclysm/eoc_mana_cost_edits.json b/data/mods/Magiclysm/eoc_mana_cost_edits.json index 72289c7d3d4c1..d52f83bea8487 100644 --- a/data/mods/Magiclysm/eoc_mana_cost_edits.json +++ b/data/mods/Magiclysm/eoc_mana_cost_edits.json @@ -15,7 +15,37 @@ { "compare_string": [ "KELVINIST", { "context_val": "school" } ] }, { "compare_string": [ "MAGUS", { "context_val": "school" } ] }, { "compare_string": [ "STORMSHAPER", { "context_val": "school" } ] }, - { "compare_string": [ "TECHNOMANCER", { "context_val": "school" } ] } + { "compare_string": [ "TECHNOMANCER", { "context_val": "school" } ] }, + { "compare_string": [ "ALCHEMIST", { "context_val": "school" } ] }, + { "compare_string": [ "ARTIFICER", { "context_val": "school" } ] }, + { "compare_string": [ "BIOTEK", { "context_val": "school" } ] }, + { "compare_string": [ "BLOOD_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "BOREAL_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "CLEANSING_FLAME", { "context_val": "school" } ] }, + { "compare_string": [ "CRUSADER", { "context_val": "school" } ] }, + { "compare_string": [ "EARTH_ELEMENTAL", { "context_val": "school" } ] }, + { "compare_string": [ "FIRE_ELEMENTAL", { "context_val": "school" } ] }, + { "compare_string": [ "FORCE_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "GAIAS_CHOSEN", { "context_val": "school" } ] }, + { "compare_string": [ "GOLEMANCER", { "context_val": "school" } ] }, + { "compare_string": [ "GLACIER_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "GRAVITY_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "ICE_ELEMENTAL", { "context_val": "school" } ] }, + { "compare_string": [ "ILLUSIONIST", { "context_val": "school" } ] }, + { "compare_string": [ "MAGNETISM_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "OVERCLOCKER", { "context_val": "school" } ] }, + { "compare_string": [ "PERMAFROST_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "RADIATION_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "SHAMAN", { "context_val": "school" } ] }, + { "compare_string": [ "SHAPESHIFTER", { "context_val": "school" } ] }, + { "compare_string": [ "SOULFIRE", { "context_val": "school" } ] }, + { "compare_string": [ "STORM_ELEMENTAL", { "context_val": "school" } ] }, + { "compare_string": [ "STORMCALLER", { "context_val": "school" } ] }, + { "compare_string": [ "SUN_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "TUNDRA_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "VOID_MAGE", { "context_val": "school" } ] }, + { "compare_string": [ "VULCANIST", { "context_val": "school" } ] }, + { "compare_string": [ "WITHER_MAGE", { "context_val": "school" } ] } ] }, { "math": [ "_success == false" ] } From 302e5fa9105863f8335b68f522b99e1f36d1eb15 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: Thu, 19 Dec 2024 20:09:02 -0600 Subject: [PATCH 3/4] Kick tests AGAIN From add05dfe1eeb9a11ab7525271bdb79b6ccf4a78b 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: Fri, 20 Dec 2024 08:44:17 -0600 Subject: [PATCH 4/4] Include classless spells --- data/mods/Magiclysm/eoc_mana_cost_edits.json | 1 + 1 file changed, 1 insertion(+) diff --git a/data/mods/Magiclysm/eoc_mana_cost_edits.json b/data/mods/Magiclysm/eoc_mana_cost_edits.json index d52f83bea8487..1983f79f4b625 100644 --- a/data/mods/Magiclysm/eoc_mana_cost_edits.json +++ b/data/mods/Magiclysm/eoc_mana_cost_edits.json @@ -8,6 +8,7 @@ "and": [ { "or": [ + { "compare_string": [ "NONE", { "context_val": "school" } ] }, { "compare_string": [ "ANIMIST", { "context_val": "school" } ] }, { "compare_string": [ "BIOMANCER", { "context_val": "school" } ] }, { "compare_string": [ "DRUID", { "context_val": "school" } ] },