diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2013-01-20 18:35:59 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2013-01-20 18:35:59 -0700 |
commit | b4b189bfd0645a11f2c25c6fb702732516f5bb33 (patch) | |
tree | c236089b3c9baad8dc48ac186a606665b8b2e148 /crawl-ref/source/godabil.h | |
parent | 02f53164f5cb80a7a646302f439313af001ffe82 (diff) | |
download | crawl-ref-b4b189bfd0645a11f2c25c6fb702732516f5bb33.tar.gz crawl-ref-b4b189bfd0645a11f2c25c6fb702732516f5bb33.zip |
Prune duplicate code for LOS attack spells.
This commit merges the handling for Drain Life, Ozocubu's Refrigeration,
and Olgreb's Toxic Radiance, which shared a lot of duplicate code, into
one code path. This includes the player and monster implementations of
these spells.
Yes, this means monsters can now cast OTR (watch out for rods of
venom!); the tweaks to allow ghosts to do this are in place as well.
This changes the signature of the dlua function spells.toxic_radiance;
as far as I am aware this function is not currently used anywhere. (Now,
who wants to start work on Olgreb's Toxic Radiator?)
Diffstat (limited to 'crawl-ref/source/godabil.h')
-rw-r--r-- | crawl-ref/source/godabil.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/godabil.h b/crawl-ref/source/godabil.h index 7f0d097e7f..146baa117f 100644 --- a/crawl-ref/source/godabil.h +++ b/crawl-ref/source/godabil.h @@ -40,7 +40,6 @@ bool beogh_water_walk(); bool yred_injury_mirror(); bool yred_can_animate_dead(); void yred_animate_remains_or_dead(); -void yred_drain_life(); void yred_make_enslaved_soul(monster* mon, bool force_hostile = false); bool kiku_receive_corpses(int pow, coord_def where); |