summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authorpubby <pubby8@gmail.com>2013-06-12 02:34:30 -0500
committerNeil Moore <neil@s-z.org>2013-08-25 00:12:25 -0400
commit2211e5ff2f25adfb931eb0ff32b274afa7eb7ed5 (patch)
tree4568295ed3a6c1bd2c0df4bc8db167db1809c043 /crawl-ref/source/spl-book.cc
parent9c1491e134d7c43d0ad2c4ebd444a3a2199b457b (diff)
downloadcrawl-ref-2211e5ff2f25adfb931eb0ff32b274afa7eb7ed5.tar.gz
crawl-ref-2211e5ff2f25adfb931eb0ff32b274afa7eb7ed5.zip
Create Formicid species and monsters.
Tavern post: https://crawl.develz.org/tavern/viewtopic.php?f=8&t=8298 Wierdness & mutations: - poison weakness - retractable antennae (can wear headgear and ignore mutation) - chitin skin (+3 AC) - most weapons 1-handed, big weapons 2-handed - permanent stasis - ability to shaft self - ability to dig - Starts with 2 curing pots 3 monster versions of formicids were added: formicid, a weak fighter formicid drone, a stronger fighter formicid venom mage, a magician with olgreb's and mass cure poison [ Pushing to a branch for experimental playtesting on CSZO. Also optimised the new tiles. -nfm ]
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index cde5c969da..a550da6389 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -615,6 +615,15 @@ bool you_cannot_memorise(spell_type spell, bool &undead)
if (you.species == SP_LAVA_ORC && spell == SPELL_STONESKIN)
rc = true, undead = false;
+ if (you.species == SP_FORMICID
+ && (spell == SPELL_BLINK
+ || spell == SPELL_CONTROL_TELEPORT
+ || spell == SPELL_CONTROLLED_BLINK
+ || spell == SPELL_SWIFTNESS))
+ {
+ rc = true, undead = false;
+ }
+
return rc;
}