diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-20 17:21:09 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-20 17:21:09 +0000 |
commit | 3a4159644bb83b286ae10d5f37fcdbf81dced398 (patch) | |
tree | edf72dff6f6250859ea6d051eba807049e6e661a /crawl-ref/source/spl-util.cc | |
parent | e57ab785ed42435069db2f2397fe939a70119c27 (diff) | |
download | crawl-ref-3a4159644bb83b286ae10d5f37fcdbf81dced398.tar.gz crawl-ref-3a4159644bb83b286ae10d5f37fcdbf81dced398.zip |
Pan overhaul:
Allow monsters (including player ghosts) to use fire storm and ice storm, give Lom Lobon ice storm and Cerebov fire storm. Lom Lobon also gets conjure ball lightning.
Mnoleg gets Summon Horrible Things instead of polymorph/shadow creatures.
Gloorx gets symbol of torment instead of summon demon.
Hellion hellfire burst now behaves the same way for both hellion vs player and hellion vs monster.
Merged monster vs player and m vs m handling for direct spell effects such as smiting.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6621 c06c8d41-db1a-0410-9941-cceddc491573
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); |