summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-29 17:06:51 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-29 17:06:51 +0000
commit6b1ce5dda57255e4f6bc166a27b3b071739ac5d1 (patch)
tree5860477174d9617d5712ddbf02cdeda53b2fff1d /crawl-ref/source/delay.cc
parent85703632b12462f84e828ea3952c5c675f2907d5 (diff)
downloadcrawl-ref-6b1ce5dda57255e4f6bc166a27b3b071739ac5d1.tar.gz
crawl-ref-6b1ce5dda57255e4f6bc166a27b3b071739ac5d1.zip
Make undead monsters resist Recite, but slightly less often than demonic
monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3487 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index c08debf08d..0aff7a3d8d 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -95,8 +95,10 @@ static int recite_to_monsters(int x, int y, int pow, int unused)
{
resist = mons_resist_magic(mons);
- // much lower chances at influencing demons
- if (holiness == MH_DEMONIC)
+ // much lower chances at influencing undead/demons
+ if (holiness == MH_UNDEAD)
+ pow -= 2 + random2(3);
+ else if (holiness == MH_DEMONIC)
pow -= 3 + random2(5);
}