summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/teleport.h
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2012-11-17 09:54:47 -0800
committerAdam Borowski <kilobyte@angband.pl>2012-11-18 01:49:19 +0100
commitf42eaf392e9765c9eb890e05fa5f6d902062ea47 (patch)
treeb81cddb3f5a7eb90a4a62859f0d8df9bb5129adc /crawl-ref/source/teleport.h
parentc09303161bb72cb5fe4a535ed348e09d6a648628 (diff)
downloadcrawl-ref-f42eaf392e9765c9eb890e05fa5f6d902062ea47.tar.gz
crawl-ref-f42eaf392e9765c9eb890e05fa5f6d902062ea47.zip
Disjunction
Level 8 translocation spell. Blinks away everything with diminishing probability with: P(~blink) = 0.8^(1/(dist+1)/(dist-1)) Over 10 ticks, a monster adjacent to the caster will blink with probability 0.9. Monsters may be blinked repeatedly.
Diffstat (limited to 'crawl-ref/source/teleport.h')
-rw-r--r--crawl-ref/source/teleport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/teleport.h b/crawl-ref/source/teleport.h
index 3c0e5ae2e4..7a96fae16d 100644
--- a/crawl-ref/source/teleport.h
+++ b/crawl-ref/source/teleport.h
@@ -6,6 +6,7 @@ class monster;
void blink_other_close(actor* victim, const coord_def& target);
bool blink_away(monster* mon);
+bool blink_away(monster* mon, actor* caster);
void blink_range(monster* mon);
void blink_close(monster* mon);