Skip to content

Commit

Permalink
[Magiclysm] Soul pressure can be turned off now (#60894)
Browse files Browse the repository at this point in the history
* soul pressure can be turned off now

* supress -> suppress

* attendance -> presence
  • Loading branch information
GuardianDll authored Sep 16, 2022
1 parent 678afdb commit 19c4eb4
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
49 changes: 49 additions & 0 deletions data/mods/Magiclysm/mutations/mutations.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 19c4eb4

Please sign in to comment.