Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Magiclysm] Soul pressure can be turned off now #60894

Merged
merged 3 commits into from Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
49 changes: 49 additions & 0 deletions data/mods/Magiclysm/mutations/mutations.json
Expand Up @@ -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 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!",
"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 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 }
}
]
1 change: 0 additions & 1 deletion data/mods/Magiclysm/traits/attunements.json
Expand Up @@ -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",
Expand Down