summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorTommy <yobbobandana@yahoo.co.nz>2010-02-13 00:28:41 +1300
committerPekka Lampila <pekka.lampila@iki.fi>2014-02-10 15:02:13 +0200
commite03b0eb1dc97eb43bb6e9721d7e4aca52abddb67 (patch)
treee3f824eeae8905818fd725e84d64b34db5b1abd5 /crawl-ref/source/spl-book.h
parent45c052ce27ebae30a695bc68b384dd9084619641 (diff)
downloadcrawl-ref-e03b0eb1dc97eb43bb6e9721d7e4aca52abddb67.tar.gz
crawl-ref-e03b0eb1dc97eb43bb6e9721d7e4aca52abddb67.zip
Check for monsters in range when evoking a wielded rod using "v".
Rods can be evoked regardless using "V" (similar to spells with z and Z).
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index 680815468c..d2a88dce0d 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -43,7 +43,7 @@ spell_type which_spell_in_book(const item_def &book, int spl);
spell_type which_spell_in_book(int sbook_type, int spl);
// returns amount practised (or -1 for abort)
-int rod_spell(int zap_device_2);
+int rod_spell(int zap_device_2, bool check_range = false);
bool is_memorised(spell_type spell);
bool you_cannot_memorise(spell_type spell);