diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-02 13:18:34 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-02 13:18:34 +1000 |
commit | b16b25683f1733cdea0214e7914218d40b3b518f (patch) | |
tree | a549720015bc73f3f3b2924312343faf02565602 /crawl-ref/source/actor.h | |
parent | bd1ceb7e5828fd5f550ed66d82088689741035fc (diff) | |
download | crawl-ref-b16b25683f1733cdea0214e7914218d40b3b518f.tar.gz crawl-ref-b16b25683f1733cdea0214e7914218d40b3b518f.zip |
Wizard-mode controlled teleport (Ctrl-B).
Instantaneous, non-contaminating controlled teleport. Bypasses
FPROP_NO_CTELE_INTO as well as -TELE artefacts.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r-- | crawl-ref/source/actor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index a4d76ef56e..4d2fa2834d 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -153,7 +153,9 @@ public: virtual bool heal(int amount, bool max_too = false) = 0; virtual void banish(const std::string &who = "") = 0; virtual void blink(bool allow_partial_control = true) = 0; - virtual void teleport(bool right_now = false, bool abyss_shift = false) = 0; + virtual void teleport(bool right_now = false, + bool abyss_shift = false, + bool wizard = false) = 0; virtual void poison(actor *attacker, int amount = 1) = 0; virtual bool sicken(int amount) = 0; virtual void paralyse(actor *attacker, int strength) = 0; |