Skip to content

Commit

Permalink
Merge pull request #78541 from Standing-Storm/spirit-walking-appearance
Browse files Browse the repository at this point in the history
[Magiclysm] Add sprite override to Spirit-Walking (+1 square of Phase Distance)
  • Loading branch information
Night-Pryanik authored Dec 14, 2024
2 parents aa1f10f + 4b141ad commit abb62a5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
11 changes: 10 additions & 1 deletion data/mods/Magiclysm/Spells/animist.json
Original file line number Diff line number Diff line change
Expand Up @@ -1025,9 +1025,18 @@
{
"u_add_effect": "incorporeal",
"duration": { "math": [ "( 30 + (u_spell_level('animist_spirit_walking') * 3) ) * (enhancement_proficiency_modifier() )" ] }
}
},
{ "u_add_trait": "ANIMIST_BODY_OF_SPIRIT_APPEARANCE" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_ANIMIST_SPIRIT_WALKING_LOSE_APPEARANCE",
"eoc_type": "EVENT",
"required_event": "character_loses_effect",
"condition": { "and": [ { "compare_string": [ "effect_spirit_walking", { "context_val": "effect" } ] } ] },
"effect": [ { "u_lose_trait": "ANIMIST_BODY_OF_SPIRIT_APPEARANCE" } ]
},
{
"id": "animist_add_evasion_spell",
"type": "SPELL",
Expand Down
10 changes: 9 additions & 1 deletion data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,15 @@
"desc": [ "You have shed your physical form." ],
"rating": "good",
"show_in_info": true,
"enchantments": [ { "values": [ { "value": "SPEED", "multiply": 3 }, { "value": "MOVE_COST", "multiply": -0.66 } ] } ],
"enchantments": [
{
"values": [
{ "value": "SPEED", "multiply": 3 },
{ "value": "MOVE_COST", "multiply": -0.66 },
{ "value": "PHASE_DISTANCE", "add": 1 }
]
}
],
"flags": [
"ETHEREAL",
"FEATHER_FALL",
Expand Down
10 changes: 10 additions & 0 deletions data/mods/Magiclysm/mutations/temporary.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,15 @@
]
}
]
},
{
"type": "mutation",
"id": "ANIMIST_BODY_OF_SPIRIT_APPEARANCE",
"name": { "str": "Body of Spirit", "//~": "NO_I18N" },
"description": { "str": "You're a disembodied spirit so you're all glowy and blue. Spooky!", "//~": "NO_I18N" },
"points": 0,
"valid": false,
"player_display": false,
"override_look": { "id": "mon_hologram", "tile_category": "monster" }
}
]

0 comments on commit abb62a5

Please sign in to comment.