summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 3cfafba58c..481f513bac 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -508,6 +508,13 @@ static int find_acquirement_subtype(object_class_type class_wanted,
type_wanted = one_chance_in(10) ? FOOD_ROYAL_JELLY
: FOOD_CHUNK;
}
+ else if (you.species == SP_VAMPIRE)
+ {
+ // Vampires really don't want any OBJ_FOOD but OBJ_CORPSES
+ // but it's easier to just give them a potion of blood
+ class_wanted = OBJ_POTIONS;
+ type_wanted = POT_BLOOD;
+ }
else
{
// Meat is better than bread (except for herbivores), and