diff options
author | Brendan Hickey <brendan@bhickey.net> | 2012-11-17 09:54:47 -0800 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-11-18 01:49:19 +0100 |
commit | f42eaf392e9765c9eb890e05fa5f6d902062ea47 (patch) | |
tree | b81cddb3f5a7eb90a4a62859f0d8df9bb5129adc /crawl-ref/source/show.cc | |
parent | c09303161bb72cb5fe4a535ed348e09d6a648628 (diff) | |
download | crawl-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/show.cc')
-rw-r--r-- | crawl-ref/source/show.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc index 4203bea4f6..fd530896eb 100644 --- a/crawl-ref/source/show.cc +++ b/crawl-ref/source/show.cc @@ -146,6 +146,10 @@ static void _update_feat_at(const coord_def &gp) if (quad_haloed(gp)) env.map_knowledge(gp).flags |= MAP_QUAD_HALOED; + if (disjunction_haloed(gp)) + { + env.map_knowledge(gp).flags |= MAP_DISJUNCTION_HALOED; + } if (is_sanctuary(gp)) { if (testbits(env.pgrid(gp), FPROP_SANCTUARY_1)) |