summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-07 19:00:38 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-07 19:00:38 +0000
commit8da65f8833083502636bb65fb24349641298672c (patch)
tree32f33168faa984571f24574615623d489d9565bf
parent366417cd6da898cb4461eb7dabb52a0f9abc0e1b (diff)
downloadcrawl-ref-8da65f8833083502636bb65fb24349641298672c.tar.gz
crawl-ref-8da65f8833083502636bb65fb24349641298672c.zip
Blocked some useless spells for Vampires and Ghouls. [1827689]
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2789 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/spl-book.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index 3dab8d32dc..c34f182cff 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1087,11 +1087,18 @@ bool undead_cannot_memorise(spell_type spell, char being)
switch (spell)
{
//case SPELL_REGENERATION:
+ case SPELL_AIR_WALK:
+ case SPELL_ALTER_SELF:
+ case SPELL_BLADE_HANDS:
case SPELL_BORGNJORS_REVIVIFICATION:
case SPELL_CURE_POISON_II:
case SPELL_DEATHS_DOOR:
+ case SPELL_DRAGON_FORM:
+ case SPELL_ICE_FORM:
case SPELL_NECROMUTATION:
case SPELL_RESIST_POISON:
+ case SPELL_SPIDER_FORM:
+ case SPELL_STATUE_FORM:
case SPELL_SYMBOL_OF_TORMENT:
case SPELL_TAME_BEASTS:
case SPELL_BERSERKER_RAGE: