summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-stuff.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-15 20:09:46 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-15 20:35:49 +1000
commit8aec1a6bc351ddeee0605028e718436a1804ca62 (patch)
treed1933a0df9f657f1dff0765b18d0a5bb6133f871 /crawl-ref/source/mon-stuff.cc
parent047483716aeb3349cba7228270b5ca0d38c7e9ec (diff)
downloadcrawl-ref-8aec1a6bc351ddeee0605028e718436a1804ca62.tar.gz
crawl-ref-8aec1a6bc351ddeee0605028e718436a1804ca62.zip
Duvessa and Dowan death effect changes (dpeg).
As suggested by dpeg, they will now only climb the stairs as a pair, or if one of them is already dead. This is slightly scummable, but they still get a free turn against you.
Diffstat (limited to 'crawl-ref/source/mon-stuff.cc')
-rw-r--r--crawl-ref/source/mon-stuff.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc
index 67690b0a84..2a171f7a75 100644
--- a/crawl-ref/source/mon-stuff.cc
+++ b/crawl-ref/source/mon-stuff.cc
@@ -1110,6 +1110,9 @@ static void _elven_twin_died(monsters* twin)
if (!found_duvessa && !found_dowan)
return;
+ // Okay, let them climb stairs now.
+ monster->props["can_climb"] = "yes";
+
// If you've stabbed one of them, the other one is likely asleep still.
if (monster->asleep())
behaviour_event(monster, ME_DISTURB, MHITNOT, monster->pos());