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] Technomancer pain ignore spell #73025

Merged
merged 6 commits into from
Apr 21, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions data/mods/Magiclysm/Spells/technomancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -907,5 +907,26 @@
"max_level": 25,
"spell_class": "TECHNOMANCER",
"energy_source": "MANA"
},
{
"id": "technomancer_pain_ignore",
"type": "SPELL",
"name": { "str": "The Body Mechanical" },
"description": "With a word of power, you spur your body to function as a machine would, partially ignoring the effects of pain for a brief moment.",
"valid_targets": [ "self" ],
"flags": [ "VERBAL", "NO_LEGS", "NO_HANDS" ],
"extra_effects": [ { "id": "eoc_enhancement_setup" } ],
"effect": "attack",
"effect_str": "effect_technomancer_pain_ignore",
"shape": "blast",
"base_casting_time": { "math": [ "enhancement_proficiency_negate_calculate(50)" ] },
"base_energy_cost": 25,
"energy_source": "BIONIC",
"spell_class": "TECHNOMANCER",
"difficulty": 4,
"max_level": 15,
"min_duration": { "math": [ "enhancement_proficiency_bonus_calculate(1000)" ] },
"max_duration": { "math": [ "enhancement_proficiency_bonus_calculate(2500)" ] },
"duration_increment": { "math": [ "enhancement_proficiency_bonus_calculate(100)" ] }
}
]
37 changes: 36 additions & 1 deletion data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,39 @@
}
]
},
{
"type": "effect_type",
"id": "effect_technomancer_pain_ignore",
"name": [ "The Body Mechanical" ],
"desc": [ "Your body functions through pain with mechanical efficiency." ],
"remove_message": "Pain suddenly hampers you again.",
"enchantments": [
{
"values": [
{
"value": "PAIN_PENALTY_MOD_STR",
"multiply": { "math": [ "((u_spell_level('technomancer_pain_ignore') * -0.02) - 0.7)" ] }
},
{
"value": "PAIN_PENALTY_MOD_DEX",
"multiply": { "math": [ "((u_spell_level('technomancer_pain_ignore') * -0.02) - 0.7)" ] }
},
{
"value": "PAIN_PENALTY_MOD_INT",
"multiply": { "math": [ "((u_spell_level('technomancer_pain_ignore') * -0.02) - 0.7)" ] }
},
{
"value": "PAIN_PENALTY_MOD_PER",
"multiply": { "math": [ "((u_spell_level('technomancer_pain_ignore') * -0.02) - 0.7)" ] }
},
{
"value": "PAIN_PENALTY_MOD_SPEED",
"multiply": { "math": [ "((u_spell_level('technomancer_pain_ignore') * -0.02) - 0.7)" ] }
}
]
}
]
},
{
"id": "eshaper_crystal_wrap",
"type": "effect_type",
Expand Down Expand Up @@ -1278,7 +1311,8 @@
"effect_acid_res_aura_greater",
"effect_thorns_electric",
"effect_stormshaper_loud_voice",
"effect_technomancer_gain_electronics_computer"
"effect_technomancer_gain_electronics_computer",
"effect_technomancer_pain_ignore"
]
},
{
Expand Down Expand Up @@ -1404,6 +1438,7 @@
"effect_spirit_walking",
"effect_stormshaper_loud_voice",
"effect_technomancer_gain_electronics_computer",
"effect_technomancer_pain_ignore",
"haste",
"synaptic_stim",
"slow_freeze_effect",
Expand Down
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
[ "spell_scroll_force_jar", 30 ],
[ "spell_scroll_flamebreath", 30 ],
[ "spell_scroll_thought_shield", 35 ],
[ "spell_scroll_technomancer_far_sight", 20 ]
[ "spell_scroll_technomancer_far_sight", 20 ],
[ "spell_scroll_technomancer_pain_ignore", 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 @@ -2040,5 +2040,14 @@
"name": { "str": "Scroll of Zoom Lens", "str_pl": "Scrolls of Zoom Lens" },
"description": "Enchant a lens with the ability to see beyond the horizon.",
"use_action": { "type": "learn_spell", "spells": [ "technomancer_far_sight" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_technomancer_pain_ignore",
"//": "Technomancer spell",
"name": { "str": "Scroll of The Body Mechanical", "str_pl": "Scrolls of The Body Mechanical" },
"description": "Grant yourself brief reprieves from the effects of pain.",
"use_action": { "type": "learn_spell", "spells": [ "technomancer_pain_ignore" ] }
}
]
Loading