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/transform.h | |
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/transform.h')
-rw-r--r-- | crawl-ref/source/transform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/transform.h b/crawl-ref/source/transform.h index 3669a54fdf..8503742eac 100644 --- a/crawl-ref/source/transform.h +++ b/crawl-ref/source/transform.h @@ -18,6 +18,7 @@ bool form_can_swim(transformation_type form = you.form); bool form_likes_water(transformation_type form = you.form); bool form_likes_lava(transformation_type form = you.form); bool form_changed_physiology(transformation_type form = you.form); +bool form_can_bleed(transformation_type form = you.form); bool form_can_use_wand(transformation_type form = you.form); bool form_can_wear_item(const item_def& item, transformation_type form = you.form); |