diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-25 02:06:39 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-25 02:06:39 +0000 |
commit | 0ed56a110a4d3c2a9b6ff4e92296fc1ca8ec956c (patch) | |
tree | 8829f5a84375332153d4fa04dba58f144cbea254 /crawl-ref/source | |
parent | 4defe7893fb5d75574bcc299973108a19d095a5b (diff) | |
download | crawl-ref-0ed56a110a4d3c2a9b6ff4e92296fc1ca8ec956c.tar.gz crawl-ref-0ed56a110a4d3c2a9b6ff4e92296fc1ca8ec956c.zip |
Sort the list of spells that vampires can conditionally cast.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5228 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index c76686a581..6b4f5794c4 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -857,17 +857,17 @@ static bool _vampire_cannot_cast(spell_type spell) // Satiated or less switch (spell) { - case SPELL_RESIST_POISON: - case SPELL_CURE_POISON_II: - case SPELL_TAME_BEASTS: + case SPELL_AIR_WALK: + case SPELL_ALTER_SELF: + case SPELL_BERSERKER_RAGE: case SPELL_BLADE_HANDS: - case SPELL_SPIDER_FORM: + case SPELL_CURE_POISON_II: + case SPELL_DRAGON_FORM: case SPELL_ICE_FORM: + case SPELL_RESIST_POISON: + case SPELL_SPIDER_FORM: case SPELL_STATUE_FORM: - case SPELL_DRAGON_FORM: - case SPELL_AIR_WALK: - case SPELL_BERSERKER_RAGE: - case SPELL_ALTER_SELF: + case SPELL_TAME_BEASTS: return true; default: return false; |