diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-06 18:34:28 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-06 18:39:02 +0100 |
commit | 415669d7ad597855086ca2e0c07d219b6e0e8e9b (patch) | |
tree | 88c3239634153fbaed8bd891025cc0818ef5331f /crawl-ref/source/spl-book.cc | |
parent | 9c199ebd5f80cafa670c0df01702ce7dc5dfc1d9 (diff) | |
parent | ed4c75b69af01a021233cc3f9255223ad299fe8c (diff) | |
download | crawl-ref-415669d7ad597855086ca2e0c07d219b6e0e8e9b.tar.gz crawl-ref-415669d7ad597855086ca2e0c07d219b6e0e8e9b.zip |
Merge branch 'dwants'. Bring some Raid.
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 0aa12e0deb..6e732d871f 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -594,6 +594,15 @@ bool you_cannot_memorise(spell_type spell, bool &form) return true; } + if (you.species == SP_FORMICID + && (spell == SPELL_BLINK + || spell == SPELL_CONTROL_TELEPORT + || spell == SPELL_CONTROLLED_BLINK + || spell == SPELL_SWIFTNESS)) + { + rc = true, form = false; + } + return rc; } |