Skip to content

Commit

Permalink
[Magiclysm] Druid healing spells (#60897)
Browse files Browse the repository at this point in the history
* Druid healing

* Update data/mods/Magiclysm/items/spellbooks.json

Co-authored-by: Fris0uman <[email protected]>

Co-authored-by: Fris0uman <[email protected]>
  • Loading branch information
GuardianDll and Fris0uman authored Sep 16, 2022
1 parent 19c4eb4 commit fd463d4
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 5 deletions.
47 changes: 47 additions & 0 deletions data/mods/Magiclysm/Spells/druid.json
Original file line number Diff line number Diff line change
Expand Up @@ -530,5 +530,52 @@
"min_duration": 500,
"max_duration": 5000,
"duration_increment": 180
},
{
"id": "druid_healing",
"type": "SPELL",
"name": "Restoration",
"description": "Magic energy, that slowly heal your body from wounds.",
"valid_targets": [ "self" ],
"effect": "attack",
"effect_str": "flask_regeneration",
"shape": "blast",
"flags": [ "CONCENTRATE", "SOMATIC", "VERBAL", "NO_LEGS" ],
"energy_source": "MANA",
"spell_class": "DRUID",
"difficulty": 8,
"base_casting_time": 12000,
"final_casting_time": 3000,
"casting_time_increment": -360,
"base_energy_cost": 800,
"final_energy_cost": 500,
"energy_increment": -12,
"max_level": 25,
"//": "each 3000 (30 second) heal 1 hp. 5 hp on level 0 (2.5m), 30 hp on level 25 (15 m)",
"min_duration": 15000,
"max_duration": 90000,
"duration_increment": 3000
},
{
"id": "druid_healing_herb",
"type": "SPELL",
"name": "Floral Healing",
"description": "Use some magic herbs to heal yourself.",
"components": "spell_components_healing_herb",
"valid_targets": [ "self" ],
"effect": "attack",
"shape": "blast",
"flags": [ "CONCENTRATE", "SOMATIC", "VERBAL", "NO_LEGS" ],
"energy_source": "MANA",
"spell_class": "DRUID",
"min_damage": 5,
"max_damage": 20,
"damage_increment": 1,
"difficulty": 5,
"base_casting_time": 800,
"base_energy_cost": 400,
"final_energy_cost": 150,
"energy_increment": -16.7,
"max_level": 15
}
]
13 changes: 13 additions & 0 deletions data/mods/Magiclysm/Spells/item_only.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,18 @@
"shape": "blast",
"min_damage": 2400,
"max_damage": 2400
},
{
"id": "flask_regeneration_effect",
"type": "SPELL",
"name": "Renovamen Healing Effect",
"description": "Heals the target.",
"valid_targets": [ "self" ],
"min_damage": -1,
"max_damage": -1,
"message": "",
"effect": "attack",
"shape": "blast",
"flags": [ "SILENT", "NO_EXPLOSION_SFX" ]
}
]
16 changes: 16 additions & 0 deletions data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,5 +460,21 @@
"name": [ "Lightness" ],
"desc": [ "You feel yourself a bit lighter. You doubt you can lose weight from this." ],
"base_mods": { "speed_mod": [ 15 ] }
},
{
"id": "flask_regeneration",
"type": "effect_type",
"name": [ "Regeneration" ],
"desc": [ "Slowly regenerate your damaged body." ],
"apply_message": "Your flesh and bones start to regenerate before your eyes.",
"remove_message": "Your regeneration slows down.",
"rating": "good",
"show_intensity": false,
"enchantments": [
{
"condition": { "not": "ALWAYS" },
"intermittent_activation": { "effects": [ { "frequency": "30 seconds", "spell_effects": [ { "id": "flask_regeneration_effect" } ] } ] }
}
]
}
]
2 changes: 2 additions & 0 deletions data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
[ "spell_scroll_protection_aura", 50 ],
[ "spell_scroll_druid_veggrasp", 35 ],
[ "spell_scroll_druid_rootstrike", 40 ],
[ "spell_scroll_druid_healing_herb", 35 ],
[ "spell_scroll_druid_naturebow1", 20 ],
[ "spell_scroll_seismic_stomp", 20 ],
[ "spell_scroll_eshaper_shardspray", 25 ],
Expand Down Expand Up @@ -102,6 +103,7 @@
[ "spell_scroll_megablast", 10 ],
[ "spell_scroll_baleful_polymorph", 20 ],
[ "spell_scroll_eshaper_shardstorm", 50 ],
[ "spell_scroll_druid_healing", 25 ],
[ "spell_scroll_fireball", 50 ],
[ "spell_scroll_cone_cold", 50 ],
[ "spell_scroll_hoary_blast", 50 ],
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/items/herbs_and_flowers.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"volume": "50 ml",
"comestible_type": "FOOD",
"calories": 65,
"use_action": { "type": "cast_spell", "spell_id": "druidic_healing", "no_fail": true, "level": 0 },
"use_action": { "type": "cast_spell", "spell_id": "flask_regeneration_effect", "no_fail": true, "level": 0 },
"looks_like": "mushroom",
"vitamins": [ [ "iron", 7 ], [ "vitC", 5 ] ]
},
Expand Down
18 changes: 18 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,24 @@
"description": "A spell from a darker sect of druidry, created to forcibly begin the circle of life anew. For without rot, you cannot have growth. Affects a huge area, but is indiscriminate and slow both in casting and effect. Once lost entirely to the passage of time, this spell was thought to be no more than a myth, the stuff of fairy tales, albeit grim ones.",
"use_action": { "type": "learn_spell", "spells": [ "cause_rot" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_druid_healing",
"//": "Druid spell",
"name": { "str": "Scroll of Restoration", "str_pl": "Scrolls of Restoration" },
"description": "Directed magic energy, that slowly heal your body from wounds.",
"use_action": { "type": "learn_spell", "spells": [ "druid_healing" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_druid_healing_herb",
"//": "Druid spell",
"name": { "str": "Scroll of Floral Healing", "str_pl": "Scrolls of Floral Healing" },
"description": "Using a magic energy from herbs allow you to heal yourself.",
"use_action": { "type": "learn_spell", "spells": [ "druid_healing_herb" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
Expand Down
16 changes: 12 additions & 4 deletions data/mods/Magiclysm/items/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"type": "BOOK",
"category": "manuals",
"name": { "str": "Wizarding Guide to Backpacking", "str_pl": "copies of Wizarding Guide to Backpacking" },
"//": "2 Magus, 1 Biomancer, 1, Kelvinist, 1 classless spell",
"//": "2 Magus, 1 Biomancer, 1 Kelvinist, 1 Druid, 1 classless spell",
"description": "This appears to be the spell version of a guide for what things to take with you when backpacking. It's a little bulky, but will certainly prove useful.",
"weight": "1 kg",
"volume": "1250 ml",
Expand All @@ -73,7 +73,7 @@
"color": "red",
"use_action": {
"type": "learn_spell",
"spells": [ "phase_door", "create_lighter", "pain_split", "protection_aura", "magus_force_jar" ]
"spells": [ "phase_door", "create_lighter", "pain_split", "protection_aura", "magus_force_jar", "druid_healing_herb" ]
}
},
{
Expand Down Expand Up @@ -249,7 +249,15 @@
"color": "green",
"use_action": {
"type": "learn_spell",
"spells": [ "druid_woodshaft", "druid_veggrasp", "druid_rootstrike", "druid_naturebow1", "druid_natures_commune" ]
"spells": [
"druid_woodshaft",
"druid_veggrasp",
"druid_rootstrike",
"druid_naturebow1",
"druid_natures_commune",
"druid_healing_herb",
"druid_healing"
]
}
},
{
Expand All @@ -267,7 +275,7 @@
"color": "light_blue",
"use_action": {
"type": "learn_spell",
"spells": [ "recover_mana", "recover_bionic_power", "recover_pain", "recover_fatigue", "recover_stamina" ]
"spells": [ "recover_mana", "recover_bionic_power", "recover_pain", "recover_fatigue", "recover_stamina", "druid_healing" ]
}
},
{
Expand Down
5 changes: 5 additions & 0 deletions data/mods/Magiclysm/requirements/spell_components.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
[ [ "bone", 1 ], [ "bone_demihuman", 1 ], [ "bone_human", 1 ], [ "bone_tainted", 2 ] ]
]
},
{
"id": "spell_components_healing_herb",
"type": "requirement",
"components": [ [ [ "horn_moss_capsule", 1 ] ] ]
},
{
"id": "spell_components_impactsling",
"type": "requirement",
Expand Down

0 comments on commit fd463d4

Please sign in to comment.