summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-12 23:36:34 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-13 00:06:16 +0100
commit92bf67d036734faa46331fd054131da1fdaa13b6 (patch)
tree3b2d9052e07b448d4304c0fb00886d0e6f2129be /crawl-ref/source/delay.cc
parenta6622f0a21421788f920c51a9d9c008510e95e3f (diff)
downloadcrawl-ref-92bf67d036734faa46331fd054131da1fdaa13b6.tar.gz
crawl-ref-92bf67d036734faa46331fd054131da1fdaa13b6.zip
Rename ENCH_NEUTRAL to ENCH_TEMP_PACIF since it's what it does.
Also, keep afflicted monsters from attacking the player. It's bad if they just got "impressed by your words" yet they hunt you and you can't even fight back.
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index cc11099929..2fa9fda6a3 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -173,7 +173,7 @@ static int _recite_to_monsters(coord_def where, int pow, int, actor *)
case 10:
case 11:
case 12:
- if (!mon->add_ench(mon_enchant(ENCH_NEUTRAL, 0, KC_YOU,
+ if (!mon->add_ench(mon_enchant(ENCH_TEMP_PACIF, 0, KC_YOU,
(16 + random2avg(13, 2)) * 10)))
{
return (0);
@@ -203,7 +203,7 @@ static int _recite_to_monsters(coord_def where, int pow, int, actor *)
{
if (holiness == MH_UNDEAD || holiness == MH_DEMONIC)
{
- if (!mon->add_ench(mon_enchant(ENCH_NEUTRAL, 0, KC_YOU,
+ if (!mon->add_ench(mon_enchant(ENCH_TEMP_PACIF, 0, KC_YOU,
(16 + random2avg(13, 2)) * 10)))
{
return (0);