diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-18 13:52:43 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-18 13:52:43 +0000 |
commit | c229c0161fb07fd421e4c818821f27e34a56f9d2 (patch) | |
tree | c8e3754afb1b53122e89e1d3f40aea5476a70236 /crawl-ref/source/spl-cast.cc | |
parent | 5deb29bf245d7ff57751f4ea2a2159439a516e42 (diff) | |
download | crawl-ref-c229c0161fb07fd421e4c818821f27e34a56f9d2.tar.gz crawl-ref-c229c0161fb07fd421e4c818821f27e34a56f9d2.zip |
Add Evaporate to the list of spells that get a bonus of 1 when checking
range against distance to monsters, so z doesn't bail out if a monster
is *just* outside the range but would be hit by the cloud.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9792 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 2aeb7ab2c0..11c46506cd 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -206,6 +206,7 @@ static bool _spell_no_hostile_in_range(spell_type spell, int minRange) case SPELL_CONJURE_FLAME: // These don't target monsters. return (false); + case SPELL_EVAPORATE: case SPELL_MEPHITIC_CLOUD: case SPELL_FIREBALL: case SPELL_FREEZING_CLOUD: |