summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.h
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-25 21:48:12 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-25 21:50:26 -0700
commitf054a6457fa0f54580893607c794b7356a9fa5f8 (patch)
treeabab95239f37583619af1e92a7926403f4848cd4 /crawl-ref/source/actor.h
parenta02710520930951c3f3b6685483d157d3b32bfcb (diff)
downloadcrawl-ref-f054a6457fa0f54580893607c794b7356a9fa5f8.tar.gz
crawl-ref-f054a6457fa0f54580893607c794b7356a9fa5f8.zip
Make torpor snail slow end immediately after LOS is broken
Or after they die, etc. Also no longer require the torpor snail to be visible, thus preventing powerful /invis secret tech. rip :(
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r--crawl-ref/source/actor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index 4e1a2c5a5f..efc6cc0101 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -242,6 +242,8 @@ public:
bool real = false, bool drained = true) const = 0;
int skill_rdiv(skill_type sk, int mult = 1, int div = 1) const;
+ bool torpor_slowed() const;
+
virtual int stat_hp() const = 0;
virtual int stat_maxhp() const = 0;