diff options
author | elliptic <hyperelliptical@gmail.com> | 2012-07-22 03:02:48 -0400 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2012-07-22 03:02:48 -0400 |
commit | 04b0d18f90d0ee95af0143a6a58923141dd08d4c (patch) | |
tree | dd4134672e1612631221cc6acb0f1ea256bd0c24 /crawl-ref/source/spl-monench.cc | |
parent | 03db133eac1d77d6149b11cf624a6b1d64760f64 (diff) | |
download | crawl-ref-04b0d18f90d0ee95af0143a6a58923141dd08d4c.tar.gz crawl-ref-04b0d18f90d0ee95af0143a6a58923141dd08d4c.zip |
Remove Projected Noise.
A L2 spell that lets you get the rune from Tomb:3 without seeing a single
mummy there or lets you pick through the loot on a late Zig level at your
leisure... the idea of the spell is neat, but it is hugely overpowered in
certain places if you know how to use it (while being near-useless most of
the rest of the time) and I don't see much hope of balancing it.
Diffstat (limited to 'crawl-ref/source/spl-monench.cc')
-rw-r--r-- | crawl-ref/source/spl-monench.cc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/crawl-ref/source/spl-monench.cc b/crawl-ref/source/spl-monench.cc index 82de874f86..776c96d82b 100644 --- a/crawl-ref/source/spl-monench.cc +++ b/crawl-ref/source/spl-monench.cc @@ -125,47 +125,3 @@ bool do_slow_monster(monster* mon, const actor* agent, int dur) return false; } - -// XXX: Not sure why you can't exit map and cancel the spell. -spret_type project_noise(bool fail) -{ - fail_check(); - bool success = false; - - coord_def pos(1, 0); - level_pos lpos; - - mpr("Choose the noise's source (press '.' or delete to select)."); - more(); - - // Might abort with SIG_HUP despite !allow_esc. - if (!show_map(lpos, false, false, false)) - lpos = level_pos::current(); - pos = lpos.pos; - - redraw_screen(); - - dprf("Target square (%d,%d)", pos.x, pos.y); - - if (!in_bounds(pos) || !silenced(pos)) - { - if (in_bounds(pos) && !feat_is_solid(grd(pos))) - { - noisy(30, pos); - success = true; - } - - if (!silenced(you.pos())) - { - if (success) - { - mprf(MSGCH_SOUND, "You hear a %svoice call your name.", - (!you.see_cell(pos) ? "distant " : "")); - } - else - mprf(MSGCH_SOUND, "You hear a dull thud."); - } - } - - return SPRET_SUCCESS; -} |