diff options
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 11c46506cd..fcc9e812aa 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -201,10 +201,14 @@ static bool _spell_no_hostile_in_range(spell_type spell, int minRange) bool bonus = 0; switch (spell) { + // These don't target monsters. case SPELL_APPORTATION: case SPELL_PROJECTED_NOISE: case SPELL_CONJURE_FLAME: - // These don't target monsters. + // 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: |