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

Adding shaman attunement stuff #55509

Merged
merged 13 commits into from
Apr 22, 2022
67 changes: 67 additions & 0 deletions data/mods/Magiclysm/Spells/attunements/Shaman.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[
{
"id": "butterfly_swarm",
"type": "SPELL",
"name": { "str": "Butterfly Swarm" },
"description": "Summon a pack of butterflies with razor-sharp wings, to cut every creature in your way.",
"valid_targets": [ "ground" ],
"flags": [ "SOMATIC", "VERBAL", "CONCENTRATE" ],
"effect": "summon",
"effect_str": "mon_razor_butterflies",
"shape": "blast",
"spell_class": "SHAMAN",
"energy_source": "MANA",
"difficulty": 7,
"max_level": 35,
"base_casting_time": 500,
"casting_time_increment": -10,
"final_casting_time": 150,
"base_energy_cost": 350,
"energy_increment": -5,
"final_energy_cost": 200,
"min_damage": 1,
"max_damage": 12,
"damage_increment": 0.4,
"min_range": 0,
"max_range": 8,
"range_increment": 0.25,
"min_aoe": 1,
"max_aoe": 8,
"aoe_increment": 0.2,
"min_duration": 14400,
"max_duration": 144000,
"duration_increment": 4000
},
{
"id": "summon_shambling_mound",
"type": "SPELL",
"name": { "str": "Call of Mound" },
"description": "Summon the Shambling Mound, the giant carnivorous plant mess with devastating area attacks. It is too slow for common fight, but it is the best defender for skilled druid.",
GuardianDll marked this conversation as resolved.
Show resolved Hide resolved
GuardianDll marked this conversation as resolved.
Show resolved Hide resolved
"valid_targets": [ "ground" ],
"flags": [ "SOMATIC", "VERBAL", "CONCENTRATE" ],
"effect": "summon",
"effect_str": "mon_shambling_mound",
"shape": "blast",
"spell_class": "SHAMAN",
"energy_source": "MANA",
"difficulty": 7,
"max_level": 35,
"base_casting_time": 1200,
"casting_time_increment": -26,
"final_casting_time": 300,
"base_energy_cost": 800,
"energy_increment": -9,
"final_energy_cost": 500,
"min_damage": 1,
"max_damage": 1,
"min_range": 1,
"max_range": 8,
"range_increment": 0.2,
"min_aoe": 8,
"max_aoe": 1,
"aoe_increment": -0.2,
"min_duration": 14400,
"max_duration": 144000,
"duration_increment": 4000
}
]
18 changes: 18 additions & 0 deletions data/mods/Magiclysm/Spells/monsterspells.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,23 @@
"effect": "attack",
"shape": "line",
"flags": [ "VERBAL", "NO_HANDS", "NO_LEGS" ]
},
{
"id": "shambling_aoe",
"type": "SPELL",
"name": "Shambling attack",
"description": "Devastating AoE attack. You can see it only on debug mode.",
"effect": "attack",
"shape": "cone",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "RANDOM_DAMAGE", "RANDOM_AOE" ],
"max_level": 0,
"min_damage": 15,
"max_damage": 70,
"min_range": 2,
"max_range": 2,
"min_aoe": 90,
"max_aoe": 270,
"damage_type": "bash"
}
]
11 changes: 11 additions & 0 deletions data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,17 @@
"base_mods": { "speed_mod": [ -25 ] },
"scaling_mods": { "speed_mod": [ -5 ] }
},
{
"type": "effect_type",
"id": "mind_reading",
"//": "slowdown for shaman attunement",
"name": [ "" ],
"desc": [ "" ],
"max_intensity": 1,
"int_add_val": 1,
"max_duration": "6 s",
"base_mods": { "speed_mod": [ -25 ] }
},
GuardianDll marked this conversation as resolved.
Show resolved Hide resolved
{
"type": "effect_type",
"id": "natures_commune",
Expand Down
23 changes: 23 additions & 0 deletions data/mods/Magiclysm/enchantments/Shaman.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[
{
"id": "mind_read",
"type": "SPELL",
"name": "Mind Reading",
"description": "You can predict some movements of your enemies (just slowdown in fact). If you are seeing this spell, you have debugged it in.",
"valid_targets": [ "hostile" ],
"flags": [ "SILENT", "NO_PROJECTILE" ],
"effect": "attack",
"shape": "blast",
"effect_str": "mind_reading",
"min_damage": 0,
"max_damage": 0,
"min_aoe": 7,
"max_aoe": 7
GuardianDll marked this conversation as resolved.
Show resolved Hide resolved
},
{
"type": "enchantment",
"id": "SHAMAN",
"condition": "ALWAYS",
"intermittent_activation": { "effects": [ { "frequency": "5 seconds", "spell_effects": [ { "id": "mind_read" } ] } ] }
}
]
65 changes: 65 additions & 0 deletions data/mods/Magiclysm/monsters/monsters.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,5 +539,70 @@
"death_function": { "corpse_type": "NO_CORPSE", "message": "The %s melts away." },
"path_settings": { "avoid_traps": true, "avoid_sharp": true },
"flags": [ "SEES", "WARM", "BASHES", "DESTROYS", "NO_BREATHE", "PUSH_MON", "PUSH_VEH", "FIREY", "PATH_AVOID_DANGER_1" ]
},
{
"id": "mon_razor_butterflies",
"type": "MONSTER",
"name": { "str": "razor butterfly", "str_pl": "razor butterflies" },
"//": "Now only for shaman, todo: make them natural spawn, add harvest, etc",
"description": "A large, brightly colored butterfly with crystalline wings, fluttering incongruously through the air. This one seems to be patterned with orange runes, and its wings look razor-sharp.",
"default_faction": "magical_beast",
"volume": "12 ml",
"weight": "13 g",
"bodytype": "insect",
"hp": 15,
"speed": 170,
"symbol": "'",
"color": "white",
"aggression": 100,
"morale": 100,
"melee_skill": 5,
"melee_dice": 1,
"melee_dice_sides": 1,
"melee_cut": 15,
"dodge": 8,
"luminance": 0,
"armor_bash": 0,
"armor_cut": 0,
"armor_bullet": 0,
"vision_day": 14,
"vision_night": 14,
"special_attacks": [ { "type": "leap", "cooldown": 3, "max_range": 2, "allow_no_target": true }, { "id": "cut_throat" } ],
"material": [ "iflesh" ],
"death_function": { "message": "A %s dissolves.", "corpse_type": "NO_CORPSE" },
"flags": [ "SEES", "HEARS", "NOHEAD", "HARDTOSHOOT", "FLIES", "NO_BREATHE", "NOGIB", "ATTACKMON", "STUN_IMMUNE", "SWARMS" ],
"//1": "has no HIT_AND_RUN cause they start to be too dumb"
},
{
"id": "mon_shambling_mound",
"type": "MONSTER",
"name": "shambling mound",
"description": "This giant plant mess is one of the ancients magic species in the world. They don't like to walk too much, but the number of nutrients .",
GuardianDll marked this conversation as resolved.
Show resolved Hide resolved
GuardianDll marked this conversation as resolved.
Show resolved Hide resolved
"//": "Now only for shaman, todo: make them natural spawn, add harvest, etc",
"default_faction": "magical_beast",
"volume": "679000 ml",
"weight": "769 kg",
"hp": 800,
"speed": 15,
"symbol": "M",
"color": "green",
"aggression": 100,
"morale": 60,
"melee_skill": 0,
"melee_dice": 0,
"melee_dice_sides": 0,
"melee_cut": 0,
"dodge": 0,
"luminance": 0,
"armor_bash": 20,
"armor_cut": 20,
"armor_bullet": 20,
"vision_day": 45,
"vision_night": 6,
"special_attacks": [ { "type": "spell", "spell_data": { "id": "shambling_aoe", "min_level": 0 }, "cooldown": 1 } ],
"material": [ "veggy" ],
"death_function": { "message": "A %s dissolves.", "corpse_type": "NO_CORPSE" },
"//1": "PACIFIST because #55528",
"flags": [ "SEES", "HEARS", "WARM", "HARDTOSHOOT", "BASHES", "DESTROYS", "ATTACKMON", "PUSH_MON", "PUSH_VEH", "PACIFIST" ]
}
]
4 changes: 3 additions & 1 deletion data/mods/Magiclysm/traits/attunements.json
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,10 @@
"starting_trait": false,
"purifiable": false,
"valid": false,
"description": "Deeply attuned to the spiritual fabric that shapes and nurtures the natural world. Shamans call upon the primeval spirits of nature for aid and advice. Be careful however, for ancient spirits are fickle and unknowable things.",
"description": "Deeply attuned to the spiritual fabric that shapes and nurtures the natural world, shamans call upon the primeval spirits of nature for aid and advice. Be careful however, for ancient spirits are fickle and unknowable things.",
"prereqs": [ "ANIMIST", "DRUID" ],
"spells_learned": [ [ "butterfly_swarm", 5 ], [ "summon_shambling_mound", 5 ] ],
"enchantments": [ "SHAMAN" ],
"cancels": [
"ALCHEMIST",
"BIOTEK",
Expand Down