From ea1e8dc0cfd531dde7370ea00939b1d0cd41c1e9 Mon Sep 17 00:00:00 2001 From: GuardianDll Date: Sat, 10 Sep 2022 11:41:48 +0200 Subject: [PATCH 1/3] soul pressure can be turned off now --- data/mods/Magiclysm/mutations/mutations.json | 49 ++++++++++++++++++++ data/mods/Magiclysm/traits/attunements.json | 1 - 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/data/mods/Magiclysm/mutations/mutations.json b/data/mods/Magiclysm/mutations/mutations.json index 00e749f0d79aa..cef7fad7b7613 100644 --- a/data/mods/Magiclysm/mutations/mutations.json +++ b/data/mods/Magiclysm/mutations/mutations.json @@ -726,5 +726,54 @@ "category": [ "DRAGON_BLACK" ], "threshreq": [ "THRESH_DRAGON_BLACK" ], "spells_learned": [ [ "acid_claw", 1 ] ] + }, + { + "type": "effect_on_condition", + "id": "EOC_GIVE_SOUL_PRESSURE_OFF", + "//": "Works only once, and give you a SOUL_PRESSURE_OFF mutation. Dont know how to optimise it, so left it as it is.", + "recurrence": [ "1 s", "1 s" ], + "condition": { + "and": [ + { "u_has_trait": "SOULFIRE" }, + { + "not": { "u_has_var": "u_got_soulfire_attunement", "type": "attunement", "context": "attunement", "value": "yes" } + } + ] + }, + "deactivate_condition": { "not": { "u_has_trait": "SOULFIRE" } }, + "effect": [ + { "u_add_trait": "SOUL_PRESSURE_OFF" }, + { "u_add_var": "u_got_soulfire_attunement", "type": "attunement", "context": "attunement", "value": "yes" } + ] + }, + { + "type": "mutation", + "id": "SOUL_PRESSURE_OFF", + "starting_trait": false, + "purifiable": false, + "valid": false, + "name": { "str": "Soul Pressure" }, + "points": 0, + "active": true, + "description": "Your attendance is so dangerous you can burn living creatures around you. You supress it now.", + "transform": { + "target": "SOUL_PRESSURE_ON", + "msg_transform": "Living creatures around you start to burn!", + "active": true, + "moves": 10 + } + }, + { + "type": "mutation", + "id": "SOUL_PRESSURE_ON", + "starting_trait": false, + "purifiable": false, + "valid": false, + "active": true, + "name": { "str": "Soul Pressure (on)" }, + "points": -1, + "description": "Your attendance is so dangerous you can burn living creatures around you.", + "enchantments": [ "SOULFIRE" ], + "transform": { "target": "SOUL_PRESSURE_OFF", "msg_transform": "You supress your soul pressure.", "active": false, "moves": 10 } } ] diff --git a/data/mods/Magiclysm/traits/attunements.json b/data/mods/Magiclysm/traits/attunements.json index 5ce69a5d87aee..e9c93a4ccb128 100644 --- a/data/mods/Magiclysm/traits/attunements.json +++ b/data/mods/Magiclysm/traits/attunements.json @@ -891,7 +891,6 @@ "valid": false, "description": "The Soulfire is a phenomena of the caster's spirit binding to a fragment of a spirit of flame. This makes it possible for the Soulfire to use its namesake as an element - much like fire, it does burn, but it burns away at the soul instead of the flesh.", "spells_learned": [ [ "burn_at_both_ends", 5 ], [ "soul_afterburner", 5 ] ], - "enchantments": [ "SOULFIRE" ], "prereqs": [ "KELVINIST", "ANIMIST" ], "cancels": [ "ARTIFICER", From ab5a7ec690a09ecbeb833f67083a669ab12a5abb Mon Sep 17 00:00:00 2001 From: GuardianDll Date: Sat, 10 Sep 2022 11:51:25 +0200 Subject: [PATCH 2/3] supress -> suppress --- data/mods/Magiclysm/mutations/mutations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/mods/Magiclysm/mutations/mutations.json b/data/mods/Magiclysm/mutations/mutations.json index cef7fad7b7613..c9cb68e4afa1f 100644 --- a/data/mods/Magiclysm/mutations/mutations.json +++ b/data/mods/Magiclysm/mutations/mutations.json @@ -755,7 +755,7 @@ "name": { "str": "Soul Pressure" }, "points": 0, "active": true, - "description": "Your attendance is so dangerous you can burn living creatures around you. You supress it now.", + "description": "Your attendance is so dangerous you can burn living creatures around you. You suppress it now.", "transform": { "target": "SOUL_PRESSURE_ON", "msg_transform": "Living creatures around you start to burn!", @@ -774,6 +774,6 @@ "points": -1, "description": "Your attendance is so dangerous you can burn living creatures around you.", "enchantments": [ "SOULFIRE" ], - "transform": { "target": "SOUL_PRESSURE_OFF", "msg_transform": "You supress your soul pressure.", "active": false, "moves": 10 } + "transform": { "target": "SOUL_PRESSURE_OFF", "msg_transform": "You suppress your soul pressure.", "active": false, "moves": 10 } } ] From e94a7f4b50836f719c25e5e04698a37693db0a68 Mon Sep 17 00:00:00 2001 From: GuardianDll <67688115+GuardianDll@users.noreply.github.com> Date: Thu, 15 Sep 2022 12:00:36 +0200 Subject: [PATCH 3/3] attendance -> presence --- data/mods/Magiclysm/mutations/mutations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/mods/Magiclysm/mutations/mutations.json b/data/mods/Magiclysm/mutations/mutations.json index c9cb68e4afa1f..31512dccb5002 100644 --- a/data/mods/Magiclysm/mutations/mutations.json +++ b/data/mods/Magiclysm/mutations/mutations.json @@ -755,7 +755,7 @@ "name": { "str": "Soul Pressure" }, "points": 0, "active": true, - "description": "Your attendance is so dangerous you can burn living creatures around you. You suppress it now.", + "description": "Your presence is so dangerous you can burn living creatures around you. You suppress it now.", "transform": { "target": "SOUL_PRESSURE_ON", "msg_transform": "Living creatures around you start to burn!", @@ -772,7 +772,7 @@ "active": true, "name": { "str": "Soul Pressure (on)" }, "points": -1, - "description": "Your attendance is so dangerous you can burn living creatures around you.", + "description": "Your presence is so dangerous you can burn living creatures around you.", "enchantments": [ "SOULFIRE" ], "transform": { "target": "SOUL_PRESSURE_OFF", "msg_transform": "You suppress your soul pressure.", "active": false, "moves": 10 } }