summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-13 19:21:16 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-13 19:21:16 -0500
commit5db24dfec9203a03424ebcd458766d36b11b68c1 (patch)
tree9c0e65a2f03db2eec80626f960de05a0d869fe70 /crawl-ref/source/mon-util.cc
parent02ddc794a13c5e2f5a3d177e166f247ac5f2982c (diff)
downloadcrawl-ref-5db24dfec9203a03424ebcd458766d36b11b68c1.tar.gz
crawl-ref-5db24dfec9203a03424ebcd458766d36b11b68c1.zip
Rename Summon Wraiths to Haunt everywhere, for consistency, and adjust
the tiles accordingly.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index d0b8981a23..6195b80834 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -1695,7 +1695,7 @@ int exper_value(const monsters *monster)
{
case SPELL_PARALYSE:
case SPELL_SMITING:
- case SPELL_SUMMON_WRAITHS:
+ case SPELL_HAUNT:
case SPELL_HELLFIRE_BURST:
case SPELL_HELLFIRE:
case SPELL_SYMBOL_OF_TORMENT:
@@ -3232,13 +3232,15 @@ bool ms_waste_of_time( const monsters *mon, spell_type monspell )
static bool _ms_los_spell(spell_type monspell)
{
- // True, the tentacles _are_ summoned but they are restricted to water
- // just like the kraken is, so it makes more sense not to count them here.
+ // True, the tentacles _are_ summoned, but they are restricted to
+ // water just like the kraken is, so it makes more sense not to
+ // count them here.
if (SPELL_KRAKEN_TENTACLES)
return (false);
- if (monspell == SPELL_SMITING || monspell == SPELL_AIRSTRIKE
- || monspell == SPELL_SUMMON_WRAITHS
+ if (monspell == SPELL_SMITING
+ || monspell == SPELL_AIRSTRIKE
+ || monspell == SPELL_HAUNT
|| spell_typematch(monspell, SPTYP_SUMMONING))
{
return (true);