summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.h
diff options
context:
space:
mode:
authorAlex MacDonald <alex@alexjmacdonald.com>2009-11-14 18:45:17 -0500
committerDavid Ploog <dploog@users.sourceforge.net>2009-11-18 00:21:21 +0100
commit60739d905fb591cbab819d6b56a5a510584d25ee (patch)
treeb00520d905f32a0ca9965c2d4f58a9d542eb64b9 /crawl-ref/source/actor.h
parent905d7f0ef50939e92d20a5798ccd3ba12350c738 (diff)
downloadcrawl-ref-60739d905fb591cbab819d6b56a5a510584d25ee.tar.gz
crawl-ref-60739d905fb591cbab819d6b56a5a510584d25ee.zip
Shaft trap behavior modified. They now are one-time use and pre-knowledge of shaft traps (i.e. using them intentionally) will improve the chances of the player landing fewer levels away. Shaft traps also now randomly determine their destination. Monsters cannot follow the player through shaft traps.
Signed-off-by: David Ploog <dploog@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r--crawl-ref/source/actor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index 97e65922cb..a4d76ef56e 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -248,7 +248,7 @@ public:
virtual bool has_spell(spell_type spell) const = 0;
virtual bool will_trigger_shaft() const;
- virtual level_id shaft_dest() const;
+ virtual level_id shaft_dest(bool known) const;
virtual bool do_shaft() = 0;
coord_def position;