Skip to content

Commit

Permalink
[MoM] Add PHASE_DISTANCE to Astral Projection (#75890)
Browse files Browse the repository at this point in the history
* Add PHASE_DISTANCE to Astral Projection

* Remove custom wall-passing power
  • Loading branch information
Standing-Storm authored Aug 23, 2024
1 parent 6c57eea commit 80626e6
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 31 deletions.
10 changes: 9 additions & 1 deletion data/mods/MindOverMatter/effects/effects_psionic.json
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,15 @@
"values": [
{ "value": "MOVE_COST", "multiply": -0.96 },
{ "value": "EVASION", "add": 1 },
{ "value": "REGEN_STAMINA", "multiply": -1 }
{ "value": "REGEN_STAMINA", "multiply": -1 },
{
"value": "PHASE_DISTANCE",
"add": {
"math": [
"( 1 + ( u_spell_level('clair_astral_projection') * 0.15 ) * (scaling_factor(u_val('intelligence') ) ) ) * u_nether_attunement_power_scaling"
]
}
}
]
}
],
Expand Down
29 changes: 29 additions & 0 deletions data/mods/MindOverMatter/obsolete/powers.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,35 @@
]
}
},
{
"id": "clair_astral_projection_passwall",
"type": "SPELL",
"name": "[Ψ]Pass Through Wall",
"description": "Walls are no barrier to a body of pure spirit.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"spell_class": "CLAIRSENTIENT",
"skill": "metaphysics",
"flags": [
"PSIONIC",
"NO_FAIL",
"NON_MAGICAL",
"SILENT",
"NO_HANDS",
"TARGET_TELEPORT",
"IGNORE_WALLS",
"NO_PROJECTILE",
"NO_LEGS",
"NO_EXPLOSION_SFX"
],
"effect": "short_range_teleport",
"shape": "blast",
"min_range": 2,
"max_range": 2,
"energy_source": "STAMINA",
"base_energy_cost": 100
},
{
"id": "telepathic_fear_extra",
"type": "SPELL",
Expand Down
29 changes: 0 additions & 29 deletions data/mods/MindOverMatter/powers/clairsentience.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,35 +539,6 @@
"energy_increment": -125,
"base_casting_time": 6000
},
{
"id": "clair_astral_projection_passwall",
"type": "SPELL",
"name": "[Ψ]Pass Through Wall",
"description": "Walls are no barrier to a body of pure spirit.",
"message": "",
"teachable": false,
"valid_targets": [ "ground" ],
"spell_class": "CLAIRSENTIENT",
"skill": "metaphysics",
"flags": [
"PSIONIC",
"NO_FAIL",
"NON_MAGICAL",
"SILENT",
"NO_HANDS",
"TARGET_TELEPORT",
"IGNORE_WALLS",
"NO_PROJECTILE",
"NO_LEGS",
"NO_EXPLOSION_SFX"
],
"effect": "short_range_teleport",
"shape": "blast",
"min_range": 2,
"max_range": 2,
"energy_source": "STAMINA",
"base_energy_cost": 100
},
{
"id": "clair_astral_projection_return",
"type": "SPELL",
Expand Down
1 change: 0 additions & 1 deletion data/mods/MindOverMatter/powers/clairsentience_eoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
{ "u_message": "As you meditate, you feel your spirit slipping free from your body.", "type": "good" },
{ "u_spawn_item": "body_astral_projection", "suppress_message": true },
{ "u_spawn_item": "item_clair_astral_projection_cord", "suppress_message": true, "force_equip": true },
{ "math": [ "u_spell_level('clair_astral_projection_passwall')", "=", "0" ] },
{ "math": [ "u_spell_level('clair_astral_projection_return')", "=", "0" ] }
]
},
Expand Down

0 comments on commit 80626e6

Please sign in to comment.