diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-16 03:08:15 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-16 03:08:15 +0000 |
commit | 5f315f30789749b2563182835e06562653bcea0c (patch) | |
tree | 0d3c66e2c97e240c1753ddd95a0583b78e44a550 /crawl-ref/source/spl-book.cc | |
parent | 18aaef85429ff25b97c826d834d46da84a90cc1b (diff) | |
download | crawl-ref-5f315f30789749b2563182835e06562653bcea0c.tar.gz crawl-ref-5f315f30789749b2563182835e06562653bcea0c.zip |
Fix [2051240]: Don't allow undead to memorize Stoneskin, excepting
vampires, since they can use it when alive.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6821 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index a1d0f448e6..1c5746fbb7 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -1088,6 +1088,7 @@ bool undead_cannot_memorise(spell_type spell, char being) case SPELL_RESIST_POISON: case SPELL_SPIDER_FORM: case SPELL_STATUE_FORM: + case SPELL_STONESKIN: case SPELL_SYMBOL_OF_TORMENT: case SPELL_TAME_BEASTS: return (true); @@ -1129,6 +1130,7 @@ bool undead_cannot_memorise(spell_type spell, char being) case SPELL_RESIST_POISON: case SPELL_SPIDER_FORM: case SPELL_STATUE_FORM: + case SPELL_STONESKIN: case SPELL_SUMMON_HORRIBLE_THINGS: case SPELL_SYMBOL_OF_TORMENT: case SPELL_TAME_BEASTS: |