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

Add a Shadow Field spell to the Magus class' repertoire #46910

Merged
merged 1 commit into from
Feb 7, 2021
Merged
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
27 changes: 27 additions & 0 deletions data/mods/Magiclysm/Spells/magus.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
[
{
"id": "shadow_field",
"type": "SPELL",
"name": "Shadow Field",
"description": "Cast a field of intense shadows.",
"effect": "attack",
"field_id": "fd_darkness",
"min_field_intensity": 1,
"max_field_intensity": 1,
"shape": "blast",
"valid_targets": [ "self", "ground" ],
"min_duration": 3000,
"max_duration": 45000,
"min_range": 10,
"max_range": 10,
"min_aoe": 1,
"max_aoe": 4,
"aoe_increment": 0.25,
"duration_increment": 1400,
"max_level": 30,
"spell_class": "MAGUS",
"energy_source": "MANA",
"base_energy_cost": 250,
"base_casting_time": 100,
"difficulty": 1,
"flags": [ "NO_LEGS", "SOMATIC", "CONCENTRATE" ]
},
{
"id": "magic_missile",
"type": "SPELL",
7 changes: 7 additions & 0 deletions data/mods/Magiclysm/field.json
Original file line number Diff line number Diff line change
@@ -39,5 +39,12 @@
"priority": 8,
"half_life": "10 minutes",
"phase": "gas"
},
{
"id": "fd_darkness",
"type": "field_type",
"intensity_levels": [ { "name": "darkness", "light_override": 0.0 } ],
"half_life": "10 seconds",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a heads up that the duration of the spell adds to the half-life, it doesn't override it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely sure how to change my values with that in mind, or what that would mean in practice and context. Do you have any suggestions off-hand?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, okay, I think I see what you're saying. My intention was for the first level to give a minute of darkness, and the 30th to give fifteen. But if the duration adds to the half_life, that means that at first level, one minute after casting, the field is down to half intensity, then a quarter intensity after two minutes, and an eighth intensity after four.

So I should cut all my values in half.

"percent_spread": 50
}
]
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
@@ -722,7 +722,8 @@
{ "item": "wizard_beginner", "prob": 30 },
{ "item": "wizard_utility", "prob": 20 },
{ "item": "spell_scroll_magic_missile", "prob": 70 },
{ "item": "spell_scroll_phase_door", "prob": 50 }
{ "item": "spell_scroll_phase_door", "prob": 50 },
{ "item": "spell_scroll_shadow_field", "prob": 40 }
],
"prob": 45
},
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
@@ -31,7 +31,8 @@
[ "spell_scroll_biomancer_paralytic_dart", 40 ],
[ "spell_scroll_biomancer_visceral_projection", 40 ],
[ "spell_scroll_summon_wisps", 30 ],
[ "spell_scroll_stormshaper_wall_of_fog", 35 ]
[ "spell_scroll_stormshaper_wall_of_fog", 35 ],
[ "spell_scroll_shadow_field", 20 ]
]
},
{
9 changes: 9 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
@@ -468,6 +468,15 @@
"description": "Covers you in a thin layer of magical ice to protect you from harm.",
"use_action": { "type": "learn_spell", "spells": [ "frost_armor" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_shadow_field",
"//": "Magus spell",
"name": { "str": "Scroll of Shadow Field", "str_pl": "Scrolls of Shadow Field" },
"description": "Cast a field of shadows.",
"use_action": { "type": "learn_spell", "spells": [ "shadow_field" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/items/spellbooks.json
Original file line number Diff line number Diff line change
@@ -182,7 +182,8 @@
"create_atomic_light",
"mirror_image",
"invisibility",
"holographic_transposition"
"holographic_transposition",
"shadow_field"
]
}
},