Skip to content
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
22 changes: 22 additions & 0 deletions data/mods/Magiclysm/Spells/biomancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -839,5 +839,27 @@
"base_energy_cost": 1200,
"extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true }, { "id": "biomantic_pain_caused_light", "hit_self": true } ],
"base_casting_time": 6000
},
{
"id": "biomancer_pull_items_from_distance",
"type": "SPELL",
"name": "Monstrous Grasp",
"description": "Extend a tentacle with a myriad of grasping appendages, grasping an item and dragging it back to you. This spell is slightly painful due to the rapidity of the transformation.",
"valid_targets": [ "ally", "hostile", "item", "ground" ],
"spell_class": "BIOMANCER",
"flags": [ "TRANSFORMATION_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ],
"extra_effects": [ { "id": "eoc_transformation_setup", "hit_self": true }, { "id": "biomantic_pain_caused_light", "hit_self": true } ],
"difficulty": 4,
"max_level": 10,
"effect": "pickup",
"shape": "blast",
"min_damage": { "math": [ "350 - (u_spell_level('biomancer_pull_items_from_distance') * 12)" ] },
"max_damage": { "math": [ "350 - (u_spell_level('biomancer_pull_items_from_distance') * 12)" ] },
"min_range": 3,
"max_range": 8,
"range_increment": 0.5,
"magic_type": "magiclysm_generic_magic",
"base_energy_cost": 100,
"base_casting_time": 150
}
]
62 changes: 62 additions & 0 deletions data/mods/Magiclysm/Spells/earthshaper.json
Original file line number Diff line number Diff line change
Expand Up @@ -1316,5 +1316,67 @@
"else": { "u_message": "You must be on the living earth to use Earth Gate.", "type": "bad" }
}
]
},
{
"id": "earthshaper_remove_corpses",
"type": "SPELL",
"name": "The Last Embrace",
"description": "A truly ancient spell, its use attested in funeral rites from prehistoric times, The Last Embrace causes all bodies within its area of effect to sink within the living earth, coming to rest in a natural tomb. It only works on earth or stone.",
"valid_targets": [ "self" ],
"flags": [ "CHANNELING_SPELL", "SOMATIC", "LOUD", "NO_PROJECTILE" ],
"extra_effects": [ { "id": "eoc_channeling_setup", "hit_self": true } ],
"effect": "effect_on_condition",
"effect_str": "EOC_EARTHSHAPER_REMOVE_CORPSES",
"shape": "blast",
"difficulty": 4,
"spell_class": "EARTHSHAPER",
"teachable": false,
"max_level": 15,
"magic_type": "magiclysm_generic_magic",
"base_energy_cost": 150,
"final_energy_cost": 50,
"energy_increment": -7,
"base_casting_time": 1200
},
{
"type": "effect_on_condition",
"id": "EOC_EARTHSHAPER_REMOVE_CORPSES",
"effect": [
{
"u_query_tile": "line_of_sight",
"target_var": { "context_val": "earthshaper_target_point" },
"range": { "math": [ "(u_spell_level('earthshaper_remove_corpses') + 3)" ] },
"z_level": false,
"message": "Select diggable ground."
},
{
"u_map_run_eocs": [
{
"id": "EOC_EARTHSHAPER_REMOVE_CORPSES_PER_TILE",
"effect": [
{
"u_map_run_item_eocs": "all",
"loc": { "context_val": "earthshaper_digging_point" },
"min_radius": 0,
"max_radius": 0,
"search_data": [ { "flags": [ "CORPSE" ] } ],
"true_eocs": [ { "id": "EOC_EARTHSHAPER_REMOVE_CORPSES_HIT_CORPSES", "effect": [ "npc_die" ] } ]
}
]
}
],
"range": { "math": [ "( (u_spell_level('earthshaper_remove_corpses') * 0.15) + 1)" ] },
"store_coordinates_in": { "context_val": "earthshaper_digging_point" },
"stop_at_first": false,
"target_var": { "context_val": "earthshaper_target_point" },
"condition": {
"or": [
{ "map_terrain_id": "t_rock_floor_no_roof", "loc": { "context_val": "earthshaper_target_point" } },
{ "map_terrain_id": "t_rock_floor", "loc": { "context_val": "earthshaper_target_point" } },
{ "map_terrain_with_flag": "DIGGABLE", "loc": { "context_val": "earthshaper_target_point" } }
]
}
}
]
}
]
70 changes: 62 additions & 8 deletions data/mods/Magiclysm/Spells/magus.json
Original file line number Diff line number Diff line change
Expand Up @@ -646,20 +646,15 @@
"type": "SPELL",
"name": "Sorcerer's Hand",
"description": "Pull a target or set of items to you.",
"valid_targets": [ "ally", "hostile", "item", "ground" ],
"valid_targets": [ "self" ],
"spell_class": "MAGUS",
"flags": [ "EVOCATION_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ],
"extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
"difficulty": 2,
"max_level": 10,
"effect": "directed_push",
"effect": "effect_on_condition",
"effect_str": "EOC_MAGUS_FAR_HAND_PULL",
"shape": "blast",
"min_damage": -1,
"max_damage": -10,
"damage_increment": -1,
"min_range": 1,
"max_range": 10,
"range_increment": 1,
"magic_type": "magiclysm_generic_magic",
"base_energy_cost": 200,
"final_energy_cost": 50,
Expand All @@ -668,6 +663,65 @@
"final_casting_time": 50,
"casting_time_increment": -10
},
{
"type": "effect_on_condition",
"id": "EOC_MAGUS_FAR_HAND_PULL",
"effect": [
{
"run_eoc_selector": [ "EOC_MAGUS_FAR_HAND_PULL_ITEM", "EOC_MAGUS_FAR_HAND_PULL_CREATURE" ],
"names": [ "Grab Item", "Pull Creature" ],
"keys": [ "a", "b" ],
"allow_cancel": true,
"descriptions": [ "Pick up an item and pull it to you", "Target a creature and pull it toward you" ]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_MAGUS_FAR_HAND_PULL_ITEM",
"effect": [ { "u_cast_spell": { "id": "magus_far_hand_pull_items" }, "targeted": true } ]
},
{
"type": "effect_on_condition",
"id": "EOC_MAGUS_FAR_HAND_PULL_CREATURE",
"effect": [ { "u_cast_spell": { "id": "magus_far_hand_pull_creatures" }, "targeted": true } ]
},
{
"id": "magus_far_hand_pull_creatures",
"type": "SPELL",
"name": { "str": "Sorcerer's Hand Creature", "//~": "NO_I18N" },
"description": { "str": "Pull a target to you.", "//~": "NO_I18N" },
"valid_targets": [ "ally", "hostile" ],
"spell_class": "MAGUS",
"flags": [ "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ],
"difficulty": 2,
"max_level": 10,
"effect": "directed_push",
"shape": "blast",
"min_damage": { "math": [ "u_spell_level('magus_far_hand_pull') * -1" ] },
"max_damage": { "math": [ "u_spell_level('magus_far_hand_pull') * -1" ] },
"min_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] },
"max_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] },
"magic_type": "magiclysm_generic_magic"
},
{
"id": "magus_far_hand_pull_items",
"type": "SPELL",
"name": { "str": "Sorcerer's Hand Items", "//~": "NO_I18N" },
"description": { "str": "Pull an items to you.", "//~": "NO_I18N" },
"valid_targets": [ "ally", "hostile", "item", "ground" ],
"spell_class": "MAGUS",
"flags": [ "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ],
"difficulty": 2,
"max_level": 10,
"effect": "pickup",
"shape": "blast",
"min_damage": { "math": [ "250 - (u_spell_level('magus_far_hand_pull') * 10)" ] },
"max_damage": { "math": [ "250 - (u_spell_level('magus_far_hand_pull') * 10)" ] },
"min_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] },
"max_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] },
"magic_type": "magiclysm_generic_magic"
},
{
"id": "magus_ranged_increase",
"type": "SPELL",
Expand Down
6 changes: 4 additions & 2 deletions data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,8 @@
{ "item": "spell_scroll_earthshaper_danger_sense", "prob": 50 },
{ "item": "spell_scroll_earthshaper_fortitude_of_stone", "prob": 50 },
{ "item": "spell_scroll_earthshaper_turning_of_earth", "prob": 50 },
{ "item": "spell_scroll_earthshaper_repair_metal_stone", "prob": 25 }
{ "item": "spell_scroll_earthshaper_repair_metal_stone", "prob": 25 },
{ "item": "spell_scroll_earthshaper_remove_corpses", "prob": 35 }
],
"prob": 45
},
Expand Down Expand Up @@ -1480,7 +1481,8 @@
{ "item": "spell_scroll_biomancer_visceral_projection", "prob": 50 },
{ "item": "spell_scroll_biomancer_swim_frog", "prob": 35 },
{ "item": "spell_scroll_biomancer_cure_disease_minor", "prob": 50 },
{ "item": "spell_scroll_biomancer_eat_tons_of_food", "prob": 30 }
{ "item": "spell_scroll_biomancer_eat_tons_of_food", "prob": 30 },
{ "item": "spell_scroll_biomancer_pull_items_from_distance", "prob": 30 }
],
"prob": 45
},
Expand Down
2 changes: 2 additions & 0 deletions data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
[ "spell_scroll_stonefist", 20 ],
[ "spell_scroll_eshaper_piercing_bolt", 40 ],
[ "spell_scroll_eshaper_rockbolt", 50 ],
[ "spell_scroll_earthshaper_remove_corpses", 50 ],
[ "spell_scroll_reactive_armor", 25 ],
[ "spell_scroll_pertifying_touch", 25 ],
[ "spell_scroll_kelvinist_firebolt", 40 ],
Expand Down Expand Up @@ -115,6 +116,7 @@
[ "spell_scroll_electric_eye", 35 ],
[ "spell_scroll_biomancer_swim_frog", 25 ],
[ "spell_scroll_biomancer_slow_bleeding", 30 ],
[ "spell_scroll_biomancer_pull_items_from_distance", 30 ],
[ "spell_scroll_holy_blade", 25 ],
[ "spell_scroll_technomancer_welder", 20 ],
[ "spell_scroll_spirit_armor", 25 ],
Expand Down
20 changes: 20 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -2468,5 +2468,25 @@
"name": { "str": "Scroll of Seeing the Unseen", "str_pl": "Scrolls of Seeing the Unseen" },
"description": "Detect nearby beings with your soul rather than your eyes, allowing you to see invisible creatures.",
"use_action": { "type": "learn_spell", "spells": [ "animist_see_invisibility" ] }
},
{
"type": "ITEM",
"subtypes": [ "BOOK" ],
"copy-from": "spell_scroll",
"id": "spell_scroll_earthshaper_remove_corpses",
"//": "Earthshaper spell",
"name": { "str": "Scroll of The Last Embrace", "str_pl": "Scrolls of The Last Embrace" },
"description": "Target a corpse and cause it to sink beneath the living earth. A staple of prehistoric funeral rites.",
"use_action": { "type": "learn_spell", "spells": [ "earthshaper_remove_corpses" ] }
},
{
"type": "ITEM",
"subtypes": [ "BOOK" ],
"copy-from": "spell_scroll",
"id": "spell_scroll_biomancer_pull_items_from_distance",
"//": "Biomancer spell",
"name": { "str": "Scroll of Monstrous Grasp", "str_pl": "Scrolls of Monstrous Grasp" },
"description": "Extend a tentacle to grab an item and drag it back to you. Disgusting but practical.",
"use_action": { "type": "learn_spell", "spells": [ "biomancer_pull_items_from_distance" ] }
}
]
Loading