Skip to content

Commit

Permalink
[Magiclysm] Add three new spells (#76240)
Browse files Browse the repository at this point in the history
* Initial commit

* Remove VERBAL requirement from Vocalize
  • Loading branch information
Standing-Storm authored Sep 7, 2024
1 parent fc805d1 commit a134527
Show file tree
Hide file tree
Showing 8 changed files with 166 additions and 0 deletions.
21 changes: 21 additions & 0 deletions data/mods/Magiclysm/Spells/animist.json
Original file line number Diff line number Diff line change
Expand Up @@ -1106,5 +1106,26 @@
"effect": "emit",
"effect_str": "emit_rad_leak",
"shape": "blast"
},
{
"id": "animist_cast_spells_when_silent",
"type": "SPELL",
"name": "Vocalize",
"description": "Channel magic through your soul instead of your voice, allowing you to cast spells that require speech even when mute.",
"valid_targets": [ "self" ],
"flags": [ "ENHANCEMENT_SPELL", "CONCENTRATE", "SOMATIC", "NO_LEGS" ],
"max_level": 10,
"spell_class": "ANIMIST",
"effect": "attack",
"effect_str": "effect_animist_vocalize",
"extra_effects": [ { "id": "eoc_enhancement_setup", "hit_self": true } ],
"shape": "blast",
"difficulty": 4,
"min_duration": 30000,
"max_duration": 300000,
"duration_increment": 30000,
"energy_source": "MANA",
"base_casting_time": 250,
"base_energy_cost": 250
}
]
51 changes: 51 additions & 0 deletions data/mods/Magiclysm/Spells/magus.json
Original file line number Diff line number Diff line change
Expand Up @@ -730,5 +730,56 @@
]
}
]
},
{
"id": "magus_silence",
"type": "SPELL",
"name": "Silence",
"description": "Affect the air around the target and their vocal cords, preventing them from making any noise whatsoever. This makes them much more stealthy, but they cannot cast any spells requiring speech.",
"valid_targets": [ "self", "ally", "hostile" ],
"flags": [ "ENERVATION_SPELL", "SOMATIC", "VERBAL", "NO_LEGS" ],
"max_level": 15,
"spell_class": "MAGUS",
"effect": "attack",
"effect_str": "effect_magus_silence",
"extra_effects": [ { "id": "eoc_enervation_setup", "hit_self": true } ],
"shape": "blast",
"difficulty": 5,
"min_duration": 1200,
"max_duration": 10200,
"duration_increment": 600,
"min_range": 3,
"max_range": 35,
"range_increment": 1.2,
"energy_source": "MANA",
"base_casting_time": 150,
"base_energy_cost": 350
},
{
"id": "magus_light_target",
"type": "SPELL",
"name": "Faerie Fire",
"description": "Cause the air around the target to glow slightly, revealing their location and making it slightly harder for them to dodge attacks.",
"valid_targets": [ "ally", "hostile" ],
"flags": [ "ENERVATION_SPELL", "SOMATIC", "VERBAL", "NO_LEGS" ],
"max_level": 20,
"spell_class": "MAGUS",
"effect": "attack",
"effect_str": "effect_magus_faerie_fire",
"extra_effects": [ { "id": "eoc_enervation_setup", "hit_self": true } ],
"shape": "blast",
"difficulty": 2,
"min_duration": 1500,
"max_duration": 30000,
"duration_increment": 1500,
"min_range": 3,
"max_range": 25,
"range_increment": 1.1,
"min_aoe": 0,
"max_aoe": 1,
"aoe_increment": 0.05,
"energy_source": "MANA",
"base_casting_time": 100,
"base_energy_cost": 75
}
]
37 changes: 37 additions & 0 deletions data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,16 @@
}
]
},
{
"type": "effect_type",
"id": "effect_animist_vocalize",
"name": [ "Vocalize" ],
"desc": [ "Your soul gives voice to your magical prowess." ],
"apply_message": "",
"remove_message": "Your soul no longer speaks directly.",
"rating": "good",
"flags": [ "SILENT_SPELL" ]
},
{
"type": "effect_type",
"id": "effect_druid_anti_heat",
Expand Down Expand Up @@ -1040,6 +1050,16 @@
}
]
},
{
"type": "effect_type",
"id": "effect_magus_faerie_fire",
"name": [ "Faerie Fire" ],
"desc": [ "You are glowing." ],
"apply_message": "",
"remove_message": "The glow around you fades.",
"base_mods": { "dodge_mod": [ -1 ] },
"enchantments": [ { "values": [ { "value": "LUMINATION", "add": 10 } ] } ]
},
{
"type": "effect_type",
"id": "effect_biomancer_swim_speed",
Expand Down Expand Up @@ -1306,6 +1326,17 @@
"remove_message": "Your mageshield fades as the attack impacts it.",
"enchantments": [ { "values": [ { "value": "FORCEFIELD", "add": 1 } ] } ]
},
{
"type": "effect_type",
"id": "effect_magus_silence",
"name": [ "Silence" ],
"desc": [ "You are completely silent." ],
"rating": "good",
"show_in_info": true,
"remove_message": "Your footsteps make noise again.",
"enchantments": [ { "values": [ { "value": "ATTACK_NOISE", "multiply": -1 }, { "value": "FOOTSTEP_NOISE", "multiply": -1 } ] } ],
"flags": [ "MUTE" ]
},
{
"type": "effect_type",
"id": "effect_druid_traverse_the_wilds",
Expand Down Expand Up @@ -1405,10 +1436,12 @@
"earthshaper_fortitude_of_stone",
"effect_tremorsense",
"effect_sense_outsiders",
"effect_animist_vocalize",
"effect_kelvinist_anti_cold",
"effect_kelvinist_anti_heat",
"effect_magus_slowfall",
"effect_magus_spiderclimb",
"effect_magus_faerie_fire",
"effect_biomancer_swim_speed",
"effect_biomancer_carrion_feast",
"effect_biomancer_slow_bleeding_01",
Expand All @@ -1418,6 +1451,7 @@
"effect_druid_anti_heat",
"effect_druid_traverse_the_wilds",
"effect_magus_mageshield",
"effect_magus_silence",
"effect_magus_ranged_increase",
"magic_slowed",
"effect_classless_watch",
Expand Down Expand Up @@ -1534,6 +1568,7 @@
"effect_kelvinist_anti_heat",
"effect_magus_slowfall",
"effect_magus_spiderclimb",
"effect_magus_faerie_fire",
"effect_biomancer_swim_speed",
"effect_biomancer_carrion_feast",
"effect_classless_watch",
Expand All @@ -1543,13 +1578,15 @@
"effect_acid_res_aura_greater",
"effect_thorns_electric",
"effect_animist_add_evasion",
"effect_animist_vocalize",
"effect_biomancer_slow_bleeding_01",
"effect_biomancer_slow_bleeding_02",
"effect_biomancer_slow_bleeding_03",
"effect_biomancer_eat_tons_of_food",
"effect_druid_anti_heat",
"effect_druid_traverse_the_wilds",
"effect_magus_mageshield",
"effect_magus_silence",
"effect_magus_ranged_increase",
"effect_spirit_walking",
"effect_stormshaper_loud_voice",
Expand Down
10 changes: 10 additions & 0 deletions data/mods/Magiclysm/hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,16 @@
"spells": [ { "id": "magus_slowfall", "level": 5 } ],
"traits": [ "MAGUS" ]
},
{
"type": "profession",
"subtype": "hobby",
"id": "dabbler_magus_faerie_fire",
"name": "Dabbler (Faerie Fire)",
"description": "You were one of the hundreds of millions of people who knew a single spell. In your case, Faerie Fire. Maybe it wasn't a great use of your time, but it was fun at parties and one time when your cat ran off it made it very easy to find her. Since the Cataclysm, though, your magical powers have become much more useful.",
"points": 4,
"spells": [ { "id": "magus_light_target", "level": 5 } ],
"traits": [ "MAGUS" ]
},
{
"type": "profession",
"subtype": "hobby",
Expand Down
3 changes: 3 additions & 0 deletions data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@
{ "item": "spell_scroll_shadow_field", "prob": 40 },
{ "item": "spell_scroll_magus_slowfall", "prob": 50 },
{ "item": "spell_scroll_magus_spiderclimb", "prob": 40 },
{ "item": "spell_scroll_magus_light_target", "prob": 50 },
{ "item": "spell_scroll_magus_stop_attack_shield", "prob": 50 },
{ "item": "spell_scroll_magus_far_hand_pull", "prob": 60 }
],
Expand All @@ -1202,6 +1203,7 @@
{ "item": "spell_scroll_magus_mana_bolt", "prob": 50 },
{ "item": "spell_scroll_magus_mana_beam", "prob": 50 },
{ "item": "spell_scroll_magus_escape", "prob": 50 },
{ "item": "spell_scroll_magus_silence", "prob": 35 },
{ "item": "spell_scroll_cats_grace", "prob": 50 },
{ "item": "spell_scroll_eagles_sight", "prob": 50 },
{ "item": "spell_scroll_ogres_strength", "prob": 50 },
Expand Down Expand Up @@ -1245,6 +1247,7 @@
"distribution": [
{ "item": "priest_advanced", "prob": 10 },
{ "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 }
],
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 @@ -28,6 +28,7 @@
[ "spell_scroll_earthshaper_boulder", 35 ],
[ "spell_scroll_earthshaper_turning_of_earth", 30 ],
[ "spell_scroll_create_electric_lighter", 50 ],
[ "spell_scroll_magus_light_target", 60 ],
[ "spell_scroll_magus_stop_attack_shield", 50 ],
[ "spell_scroll_magus_far_hand_pull", 70 ],
[ "spell_scroll_create_lighter", 50 ],
Expand Down Expand Up @@ -66,6 +67,7 @@
[ "spell_scroll_classless_dispel_magic", 45 ],
[ "spell_scroll_sound_bomb", 35 ],
[ "spell_scroll_animist_summon_watcher", 30 ],
[ "spell_scroll_animist_vocalize", 30 ],
[ "spell_scroll_animist_luck_bone", 20 ],
[ "spell_scroll_pain_split", 25 ],
[ "spell_scroll_bio_grotesque", 40 ],
Expand Down
27 changes: 27 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -2067,5 +2067,32 @@
"name": { "str": "Rewritten Scroll" },
"description": "This scroll has been scribbled over again and again in the handwriting of more than one person. The notes in the margins imply some sort of departmental competition, but no matter the results you can still make out a functional spell in the mess.",
"use_action": { "type": "learn_spell", "spells": [ "animist_magic_fissile" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_animist_vocalize",
"//": "Animist spell",
"name": { "str": "Scroll of Vocalize", "str_pl": "Scrolls of Vocalize" },
"description": "Speak with your soul instead of your voice, allowing casting spells in silence.",
"use_action": { "type": "learn_spell", "spells": [ "animist_cast_spells_when_silent" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_magus_silence",
"//": "Magus spell",
"name": { "str": "Scroll of Silence", "str_pl": "Scrolls of Silence" },
"description": "Shut that pesky enemy wizard right up with this spell.",
"use_action": { "type": "learn_spell", "spells": [ "magus_silence" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_magus_light_target",
"//": "Magus spell",
"name": { "str": "Scroll of Faerie Fire", "str_pl": "Scrolls of Faerie Fire" },
"description": "Limn the target in a soft green or blue light. Great at parties.",
"use_action": { "type": "learn_spell", "spells": [ "magus_light_target" ] }
}
]
15 changes: 15 additions & 0 deletions data/mods/Magiclysm/monsters/feral_wizards.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"type": "spell",
"spell_data": { "id": "spell_feral_wizard_base" },
"monster_message": "%1$s chants and gestures erratically!",
"condition": { "not": { "u_has_flag": "MUTE" } },
"cooldown": 10
},
[ "BROWSE", 100 ],
Expand Down Expand Up @@ -93,6 +94,7 @@
"damage_max_instance": [ { "damage_type": "nether", "amount": 7 } ],
"dodgeable": false,
"blockable": false,
"condition": { "not": { "u_has_flag": "MUTE" } },
"hit_dmg_u": "%1$s screams words of magic and an eldritch bolt impacts your %2$s!",
"hit_dmg_npc": "%1$s screams words of magic and an eldritch bolt impacts <npcname>'s %2$s!",
"miss_msg_u": "%1$s screams words of magic and you narrowly avoid an eldritch bolt!",
Expand All @@ -116,6 +118,7 @@
"range": 8,
"throw_strength": 40,
"blockable": false,
"condition": { "not": { "u_has_flag": "MUTE" } },
"hit_dmg_u": "%1$s gestures at you and a powerful force hurls you through the air!",
"hit_dmg_npc": "%1$s gestures at <npcname> and a powerful force hurls them through the air!",
"miss_msg_u": "%s gestures at you, and you feel a crushing pressure for a moment before the feeling vanishes!",
Expand Down Expand Up @@ -175,27 +178,31 @@
"type": "spell",
"spell_data": { "id": "feral_rad_mage_rad_spell", "min_level": 5 },
"cooldown": 25,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s makes arcane motions and the air is filled with burning gas!"
},
{
"id": "feral_thaum_sci_spell_mirrorimage",
"type": "spell",
"spell_data": { "id": "mirror_image_rad_mage", "min_level": 0 },
"cooldown": 15,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s smiles and duplicates appear!"
},
{
"id": "feral_thaum_sci_spell_summon_zombie",
"type": "spell",
"spell_data": { "id": "feral_rad_mage_summon_spell", "min_level": 0 },
"cooldown": 30,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s intones words of power and a corpse claws its way out of the ground!"
},
{
"id": "feral_thaum_sci_spell_disjunction",
"type": "spell",
"spell_data": { "id": "disjunction_monster", "min_level": 8 },
"cooldown": 50,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s waves their hands in a gesture of negation!"
},
[ "BROWSE", 100 ],
Expand Down Expand Up @@ -260,6 +267,7 @@
"type": "spell",
"spell_data": { "id": "monster_heal_spell", "min_level": 10, "hit_self": true },
"cooldown": 25,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s weaves their hands in a complicated gesture!"
},
{
Expand All @@ -272,6 +280,7 @@
"damage_max_instance": [ { "damage_type": "bash", "amount": 12 } ],
"dodgeable": true,
"blockable": false,
"condition": { "not": { "u_has_flag": "MUTE" } },
"hit_dmg_u": "%1$s screams words of magic and jagged shards of wood impact your %2$s!",
"hit_dmg_npc": "%1$s screams words of magic and jagged shards of wood impact <npcname>'s %2$s!",
"miss_msg_u": "%1$s screams words of magic and you narrowly avoid jagged shards of wood!",
Expand All @@ -284,6 +293,7 @@
"type": "spell",
"spell_data": { "id": "druid_veggrasp", "min_level": 5 },
"cooldown": 35,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s waves their hands and roots burst from the ground around you!"
},
[ "BROWSE", 100 ],
Expand Down Expand Up @@ -335,6 +345,7 @@
"type": "spell",
"spell_data": { "id": "monster_heal_spell", "min_level": 25, "hit_self": true },
"cooldown": 20,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s weaves their hands in a complicated gesture!"
},
{
Expand All @@ -348,6 +359,7 @@
"effects": [ { "id": "root_impale", "duration": 60, "chance": 100, "affect_hit_bp": false } ],
"dodgeable": true,
"blockable": false,
"condition": { "not": { "u_has_flag": "MUTE" } },
"hit_dmg_u": "%1$s screams words of magic and sharp roots thrust from the ground into your %2$s!",
"hit_dmg_npc": "%1$s screams words of magic and sharp roots thrust from the ground into <npcname>'s %2$s!",
"miss_msg_u": "%1$s screams words of magic and you narrowly avoid sharp roots thrusting from the ground!",
Expand All @@ -360,13 +372,15 @@
"type": "spell",
"spell_data": { "id": "druid_veggrasp", "min_level": 5 },
"cooldown": 25,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s waves their hands and roots burst from the ground around you!"
},
{
"id": "feral_high_druid_summon_wolf",
"type": "spell",
"spell_data": { "id": "summon_wolf_druid_monster", "min_level": 10 },
"cooldown": 45,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s throws back their head and howls!"
},
[ "BROWSE", 100 ],
Expand Down Expand Up @@ -554,6 +568,7 @@
"type": "spell",
"spell_data": { "id": "dispel_magic_monster", "min_level": 10 },
"cooldown": 40,
"condition": { "not": { "u_has_flag": "MUTE" } },
"monster_message": "%1$s claps both hands in the air and shouts at %3$s."
},
[ "BROWSE", 100 ],
Expand Down

0 comments on commit a134527

Please sign in to comment.