diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-31 21:28:05 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-31 21:33:34 -0700 |
commit | 838f727e50f8fe6fd7f906f2bfb0d120ab0ac62a (patch) | |
tree | 52615508832f035db4ba660c55e84df6c84883f0 /crawl-ref/source/mon-cast.cc | |
parent | 6a83109defc1ef0639d5a9296b1f1d8263a91c81 (diff) | |
download | crawl-ref-838f727e50f8fe6fd7f906f2bfb0d120ab0ac62a.tar.gz crawl-ref-838f727e50f8fe6fd7f906f2bfb0d120ab0ac62a.zip |
Add the new monster spell 'Corrosive Bolt'
As part of the continuing quest to add more acid to more places.
For now, it's on deep elf sorcerers (replacing b. draining),
tengu reavers (replacing one of the venom bolts in one of their
spellbooks), and a./liches (replacing the bolt of draining in one
of their spellbooks).
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc index 12615c9313..31542b2afa 100644 --- a/crawl-ref/source/mon-cast.cc +++ b/crawl-ref/source/mon-cast.cc @@ -1075,6 +1075,15 @@ bolt mons_spell_beam(monster* mons, spell_type spell_cast, int power, beam.flavour = BEAM_DRAIN_MAGIC; break; + case SPELL_CORROSIVE_BOLT: + beam.colour = YELLOW; + beam.name = "corrosive bolt"; + beam.damage = dice_def(3, 9 + power / 17); + beam.flavour = BEAM_ACID; + beam.hit = 17 + power / 25; + beam.is_beam = true; + break; + default: if (check_validity) { |