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/item_use.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/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 59404f6dfc..d3949b4924 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -224,14 +224,6 @@ static bool _valid_weapon_swap(const item_def &item) if (item_is_snakable(item) && you.has_spell(SPELL_STICKS_TO_SNAKES)) return true; - if (you.has_spell(SPELL_SUBLIMATION_OF_BLOOD)) - { - if (item.base_type == OBJ_FOOD && item.sub_type == FOOD_CHUNK) - return true; - if (is_blood_potion(item)) - return true; - } - return false; } |