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/tilereg-inv.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/tilereg-inv.cc')
-rw-r--r-- | crawl-ref/source/tilereg-inv.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/crawl-ref/source/tilereg-inv.cc b/crawl-ref/source/tilereg-inv.cc index c4fff33b3d..d34c279cb4 100644 --- a/crawl-ref/source/tilereg-inv.cc +++ b/crawl-ref/source/tilereg-inv.cc @@ -529,27 +529,14 @@ bool InventoryRegion::update_tip_text(string& tip) case OBJ_POTIONS: tmp += "Quaff (%)"; cmd.push_back(CMD_QUAFF); - // For Sublimation of Blood. if (wielded) _handle_wield_tip(tmp, cmd, "\n[Ctrl + L-Click] ", true); - else if (item_type_known(item) - && is_blood_potion(item) - && you.has_spell(SPELL_SUBLIMATION_OF_BLOOD)) - { - _handle_wield_tip(tmp, cmd, "\n[Ctrl + L-Click] "); - } break; case OBJ_FOOD: tmp += "Eat (%)"; cmd.push_back(CMD_EAT); - // For Sublimation of Blood. if (wielded) _handle_wield_tip(tmp, cmd, "\n[Ctrl + L-Click] ", true); - else if (item.sub_type == FOOD_CHUNK - && you.has_spell(SPELL_SUBLIMATION_OF_BLOOD)) - { - _handle_wield_tip(tmp, cmd, "\n[Ctrl + L-Click] "); - } break; case OBJ_CORPSES: if (you.species == SP_VAMPIRE) |