summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-summoning.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-02-25 07:21:30 -0330
committerSteve Melenchuk <smelenchuk@gmail.com>2014-03-06 09:58:10 -0700
commit2a0814e80e4265e48f4a64bdc9eff03199f80c2f (patch)
treedb7dfb24b59ad76cc25edd9bd40aa2cee4e9b1f3 /crawl-ref/source/spl-summoning.h
parent5112a529f80abc0ff50deb9ed1cb59b1f15397f6 (diff)
downloadcrawl-ref-2a0814e80e4265e48f4a64bdc9eff03199f80c2f.tar.gz
crawl-ref-2a0814e80e4265e48f4a64bdc9eff03199f80c2f.zip
New spell: Spellforged Servitor
With the idea of introducing more summoning spells that a bit unique in some way, this is a level 7 Summoning/Conjurations spell which summons a single golem-like being that possesses a subset of the caster's own conjurations. The spell list is assembled deterministically, somewhat similar to player ghosts (though different in a number of regards). The first 3 spell slots draw from a 'primary' list containing direct conjurations like bolt of cold or poison arrow, while the next 2 are from a 'secondary' list which tends to contain AoE effects and cloud spells, as well as things like airstrike. Spells are selected roughly in order of level and power, with the player's higher spell skills having a small effect. In practice, I think the servitor will fairly transparently possess a selection of the player's better spells, without anyone needing to think much on how it arrived at this list. Many of the highest level spells (like fire storm and shatter) are excluded not only for power reasons, but also because a servitor using these could be downright dangerous to its caster. The main exception I made here was CBL, which is allowed (being both lower-level and often similarly dangerous when the player uses it, though I open to changing this).
Diffstat (limited to 'crawl-ref/source/spl-summoning.h')
-rw-r--r--crawl-ref/source/spl-summoning.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-summoning.h b/crawl-ref/source/spl-summoning.h
index 852b9427d1..5e7b1e453d 100644
--- a/crawl-ref/source/spl-summoning.h
+++ b/crawl-ref/source/spl-summoning.h
@@ -73,6 +73,8 @@ spret_type cast_summon_guardian_golem(int pow, god_type god, bool fail);
spret_type cast_dragon_call(int pow, bool fail);
void do_dragon_call(int time);
+spret_type cast_spellforged_servitor(int pow, god_type god, bool fail);
+
int animate_remains(const coord_def &a, corpse_type class_allowed,
beh_type beha, unsigned short hitting,
actor *as = NULL, string nas = "",