diff options
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r-- | crawl-ref/source/spl-util.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index e64c2f089f..e36d9528f2 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -235,6 +235,13 @@ bool spell_needs_tracer(spell_type spell) return (_seekspell(spell)->ms_needs_tracer); } +// Checks if the spell is an explosion that can be placed anywhere even without +// an unobstructed beam path, such as fire storm. +bool spell_is_direct_explosion(spell_type spell) +{ + return (spell == SPELL_FIRE_STORM || spell == SPELL_HELLFIRE_BURST); +} + bool spell_needs_foe(spell_type spell) { return (!_seekspell(spell)->ms_utility); |