diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-28 22:38:25 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-28 22:38:25 +0000 |
commit | 771896e7091c766da22380885247f13d094096c0 (patch) | |
tree | fee8b13ef2e2da2e7f29d39f125da8fe4e1681ce /crawl-ref/source/spl-cast.cc | |
parent | 410ce3feb72d7c7635d884749bcc31736225d1e9 (diff) | |
download | crawl-ref-771896e7091c766da22380885247f13d094096c0.tar.gz crawl-ref-771896e7091c766da22380885247f13d094096c0.zip |
Tweak some docs, and add Airstrike to the list of spells that don't
require a range check.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10458 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 1ea11adf47..f9c865450d 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -207,11 +207,16 @@ static bool _spell_no_hostile_in_range(spell_type spell, int minRange) case SPELL_PROJECTED_NOISE: case SPELL_CONJURE_FLAME: case SPELL_DIG: + + // Airstrike has LOS_RANGE and can go through glass walls. + case SPELL_AIRSTRIKE: + // These bounce and may be aimed elsewhere to bounce at monsters // outside range (I guess). case SPELL_SHOCK: case SPELL_LIGHTNING_BOLT: return (false); + case SPELL_EVAPORATE: case SPELL_MEPHITIC_CLOUD: case SPELL_FIREBALL: |