summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-abil.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-01-24 20:21:24 -0330
committerDracoOmega <draco_omega@live.com>2014-01-28 03:01:52 -0330
commit494c5fece274f39ea1875407b6632be2f55d10f3 (patch)
treef8b4a72eb0e8b7a24f5df104cf1ab8d05a546e58 /crawl-ref/source/mon-abil.h
parentb60b56d1d5abf02e2796e4b4a2447739c7b3e1fa (diff)
downloadcrawl-ref-494c5fece274f39ea1875407b6632be2f55d10f3.tar.gz
crawl-ref-494c5fece274f39ea1875407b6632be2f55d10f3.zip
Revamp shock serpents
While the original version may have been conceptually interesting, it had multiple mechanical problems. Even putting aside the bugs in the implementation of monster static discharge, frying its allies when injured doesn't seem like a good mechanic to me, and the way static discharge jumps means that many messages are generated for every single event (for similar reasons I don't think it works very well as an active spell for them either). Also, shock's damage scaling meant it was basically harmless on a monster of this tier - a cantrip as best. This commit attempts to take the central concepts of the original design and make it a more effective and workable monster. Shock serpents now passively gather charge when in combat. After multiple turns of building charge, they can unleash it as an unavoidable arc of lightning aimed at their primary target (and nearby allies, in the style of dazzling spray) which does substancial damage. However, injuring the shock serpent discharges ALL of the sustained charge as a (much weaker) reprisal effect. The idea is that the player will be encouraged to suffer through the reprisal to avoid a worse attack and that it might sometimes change target priorities in a large melee or affect retreat tactics employed. In addition, I have replaced shock with a stronger electrical bolt styled after electric eels. The code duplication involved here bugs me, but shocks if far too weak and lightning bolt too strong and the electric eel bolt cannot just be made into a spell and given to both of them without reducing eel fire rate significantly. Finally, they get slight hd and melee boost, and lose the poison resistant and poisonous corpses. So much of Snake already leaves poison corpses and it doesn't seem to me that there's much need for any poison association here. Note that a great many numbers here are quite provisional, particularly charge rate and the power of lightning torrent itself.
Diffstat (limited to 'crawl-ref/source/mon-abil.h')
-rw-r--r--crawl-ref/source/mon-abil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-abil.h b/crawl-ref/source/mon-abil.h
index 0471a07406..105f6ff5b2 100644
--- a/crawl-ref/source/mon-abil.h
+++ b/crawl-ref/source/mon-abil.h
@@ -46,5 +46,6 @@ bool apply_grasping_roots(monster* mons);
void check_grasping_roots(actor* act, bool quiet = false);
void siren_song(monster* mons);
+void shock_serpent_discharge(monster* serpent);
#endif