diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-23 05:03:43 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-23 07:05:21 +0100 |
commit | 603939af70ec593653f9cd693764068f71aef34b (patch) | |
tree | b91f80e2c9739e8cc7c6ea6bf737cc21e4643e91 /crawl-ref/source/butcher.cc | |
parent | b62d1063ba2c848a43ec9d01fa300eeb48055f6d (diff) | |
download | crawl-ref-603939af70ec593653f9cd693764068f71aef34b.tar.gz crawl-ref-603939af70ec593653f9cd693764068f71aef34b.zip |
Make Sublimation of Blood only effective when cast on the player
Having a spell work in two completely different ways depending on context
is unintuitive, and self-casting it is the much more interesting use.
Makes the spell unmemorisable for species without blood (Gargoyle, Ghoul,
Mummy). Species that can't bleed get both level 1 spells from the first
Kiku gift. Has some ugly duplication of lists of species that can't bleed,
because using player::can_bleed won't correctly handle statue- or lich-
formed players even with allow_tran = false, due to them changing the
player's holiness.
Diffstat (limited to 'crawl-ref/source/butcher.cc')
-rw-r--r-- | crawl-ref/source/butcher.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/butcher.cc b/crawl-ref/source/butcher.cc index 4528ca62d7..1cd6197d3d 100644 --- a/crawl-ref/source/butcher.cc +++ b/crawl-ref/source/butcher.cc @@ -131,10 +131,9 @@ void turn_corpse_into_chunks(item_def &item, bool bloodspatter, item.quantity = 1 + random2(max_chunks); item.quantity = stepdown_value(item.quantity, 4, 4, 12, 12); - bool wants_for_spells = you.has_spell(SPELL_SUBLIMATION_OF_BLOOD); // Don't mark it as dropped if we are forcing autopickup of chunks. if (you.force_autopickup[OBJ_FOOD][FOOD_CHUNK] <= 0 - && is_bad_food(item) && !wants_for_spells) + && is_bad_food(item)) { item.flags |= ISFLAG_DROPPED; } |