Skip to content

Commit

Permalink
Tornskin spell (#42290)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT authored Jul 20, 2020
2 parents ab856d4 + a79cb41 commit 59d7025
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
36 changes: 36 additions & 0 deletions data/mods/Magiclysm/Spells/druid.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,41 @@
"min_range": 2,
"max_range": 4,
"range_increment": 0.2
},
{
"id": "druid_tornskin",
"type": "SPELL",
"name": "Tornskin",
"description": "This spell, which resembles Thornskin through the sap & needles covering the page, seemed to involve thorns and bleeding wounds. The marred words may have altered the function.",
"valid_targets": [ "hostile", "ground", "ally", "self" ],
"flags": [ "SOMATIC" ],
"effect": "projectile_attack",
"effect_str": "tornskin_pain",
"affected_body_parts": [ "HEAD", "TORSO", "MOUTH", "EYES", "ARM_L", "ARM_R", "HAND_R", "HAND_L", "LEG_L", "FOOT_L", "FOOT_R" ],
"min_dot": 1,
"max_dot": 4,
"dot_increment": 0.3,
"spell_class": "DRUID",
"base_casting_time": 300,
"base_energy_cost": 100,
"energy_source": "MANA",
"difficulty": 4,
"max_level": 10,
"min_damage": 1,
"max_damage": 4,
"damage_increment": 0.3,
"min_aoe": 1,
"max_aoe": 2,
"aoe_increment": 0.1,
"min_range": 1,
"max_range": 2,
"range_increment": 0.1,
"min_duration": 200,
"max_duration": 600,
"duration_increment": 40,
"min_pierce": 0,
"max_pierce": 3,
"pierce_increment": 0.3,
"damage_type": "cut"
}
]
11 changes: 11 additions & 0 deletions data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,16 @@
"int_dur_factor": "30 s",
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -0.17 ], "speed_mod": [ -3 ] },
"scaling_mods": { "str_mod": [ -0.07 ], "dex_mod": [ -0.17 ], "speed_mod": [ -3 ] }
},
{
"type": "effect_type",
"id": "tornskin_pain",
"name": [ "Sharp Thorns" ],
"desc": [ "Thorns are whirling around you, regularly causing cuts into you." ],
"apply_message": "Thorns in the wind begin slicing into you!",
"remove_message": "The thorns fall to the ground.",
"rating": "bad",
"max_duration": "12 s",
"base_mods": { "pain_min": [ 1 ], "pain_chance": [ 6 ], "speed_mod": [ -1 ] }
}
]
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
{
"id": "trash",
"type": "item_group",
"items": [ [ "summon_scroll_smudged", 5 ] ]
"items": [ [ "summon_scroll_smudged", 5 ], [ "spell_scroll_tornskin", 5 ] ]
},
{
"type": "item_group",
Expand Down Expand Up @@ -937,6 +937,7 @@
"distribution": [
{ "item": "spell_scroll_druid_woodshaft", "prob": 30 },
{ "item": "summon_scroll_smudged", "prob": 2 },
{ "item": "spell_scroll_tornskin", "prob": 2 },
{ "item": "spell_scroll_summon_cats", "prob": 50 }
],
"prob": 45
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 @@ -4,6 +4,7 @@
"type": "item_group",
"items": [
[ "summon_scroll_smudged", 10 ],
[ "spell_scroll_tornskin", 10 ],
[ "spell_scroll_smite", 40 ],
[ "spell_scroll_summon_zombie", 25 ],
[ "spell_scroll_light_healing", 50 ],
Expand Down
8 changes: 8 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -909,5 +909,13 @@
"name": { "str": "Scroll of Repelling Arc", "str_pl": "Scrolls of Repelling Arc" },
"description": "You manifest an aura of crackling electricity around you to strike attackers with baleful lightning.",
"use_action": { "type": "learn_spell", "spells": [ "stormshaper_repelling_arc" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_tornskin",
"name": { "str": "Sappy Scroll" },
"description": "This scroll is covered in sap and rose thorns. You can still make out some of the writings, but it probably won't work the same.",
"use_action": { "type": "learn_spell", "spells": [ "druid_tornskin" ] }
}
]

0 comments on commit 59d7025

Please sign in to comment.