From 5db24dfec9203a03424ebcd458766d36b11b68c1 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 13 Oct 2009 19:21:16 -0500 Subject: Rename Summon Wraiths to Haunt everywhere, for consistency, and adjust the tiles accordingly. --- crawl-ref/source/mon-util.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/mon-util.cc') 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); -- cgit v1.2.3-54-g00ecf