Skip to content

Commit

Permalink
Merge pull request CleverRaven#78450 from Standing-Storm/mind-crush
Browse files Browse the repository at this point in the history
[Magiclysm] Add Mind Crush spell
  • Loading branch information
Maleclypse authored Dec 10, 2024
2 parents ff1d0cd + be5a580 commit 52e00eb
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
27 changes: 27 additions & 0 deletions data/mods/Magiclysm/Spells/animist.json
Original file line number Diff line number Diff line change
Expand Up @@ -1140,5 +1140,32 @@
"energy_source": "MANA",
"base_casting_time": 250,
"base_energy_cost": 250
},
{
"id": "animist_do_psionic_damage_to_head",
"type": "SPELL",
"name": "Mind Crush",
"description": "Directly assault the target's spirit, bypassing any physical protections they have.",
"valid_targets": [ "hostile" ],
"flags": [ "EVOCATION_SPELL", "CONCENTRATE", "SILENT", "RANDOM_DAMAGE", "RANDOM_DURATION", "NO_LEGS" ],
"max_level": 15,
"spell_class": "ANIMIST",
"effect": "attack",
"effect_str": "stunned",
"damage_type": "psionic",
"affected_body_parts": [ "head" ],
"extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
"shape": "blast",
"difficulty": 5,
"min_damage": { "math": [ "10 + (u_spell_level('animist_do_psionic_damage_to_head') * 2.5)" ] },
"max_damage": { "math": [ "25 + (u_spell_level('animist_do_psionic_damage_to_head') * 6)" ] },
"min_duration": { "math": [ "150 + (u_spell_level('animist_do_psionic_damage_to_head') * 10)" ] },
"max_duration": { "math": [ "250 + (u_spell_level('animist_do_psionic_damage_to_head') * 25)" ] },
"min_range": 3,
"max_range": 15,
"range_increment": 0.9,
"energy_source": "MANA",
"base_casting_time": 75,
"base_energy_cost": 350
}
]
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,8 @@
{ "item": "spell_scroll_summon_undead", "prob": 50 },
{ "item": "spell_scroll_animist_vocalize", "prob": 35 },
{ "item": "spell_scroll_animist_luck_bone", "prob": 30 },
{ "item": "spell_scroll_animist_add_evasion_spell", "prob": 40 }
{ "item": "spell_scroll_animist_add_evasion_spell", "prob": 40 },
{ "item": "spell_scroll_animist_do_psionic_damage_to_head", "prob": 30 }
],
"prob": 35
},
Expand Down
1 change: 1 addition & 0 deletions data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
[ "spell_scroll_animist_summon_watcher", 30 ],
[ "spell_scroll_animist_vocalize", 30 ],
[ "spell_scroll_animist_luck_bone", 20 ],
[ "spell_scroll_animist_do_psionic_damage_to_head", 25 ],
[ "spell_scroll_pain_split", 25 ],
[ "spell_scroll_bio_grotesque", 40 ],
[ "spell_scroll_bio_fleshpouch", 30 ],
Expand Down
9 changes: 9 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -2112,5 +2112,14 @@
"name": { "str": "Scroll of Goodberry", "str_pl": "Scrolls of Goodberry" },
"description": "Transform a set of berries into a set of even better berries that keep you full and heal your wounds. Delicious and nutritious.",
"use_action": { "type": "learn_spell", "spells": [ "druid_goodberry" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_animist_do_psionic_damage_to_head",
"//": "Animist spell",
"name": { "str": "Scroll of Mind Crush", "str_pl": "Scrolls of Mind Crush" },
"description": "Use your own spirit to attack the target's spirit.",
"use_action": { "type": "learn_spell", "spells": [ "animist_do_psionic_damage_to_head" ] }
}
]

0 comments on commit 52e00eb

Please sign in to comment.