summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-other.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-01 12:36:44 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-01 12:36:44 +0100
commitd83426aef5ea6aca778fe86efe7ae2f9ceba612e (patch)
tree84d4a784ff38d919939c5697e428157ef9edbcb0 /crawl-ref/source/spl-other.cc
parentb797c15903125738816af0b75551ef34b09b0c13 (diff)
downloadcrawl-ref-d83426aef5ea6aca778fe86efe7ae2f9ceba612e.tar.gz
crawl-ref-d83426aef5ea6aca778fe86efe7ae2f9ceba612e.zip
A better fail message for self-Sublimation for bloodless races.
Also, don't allow using the spell in bloodless forms.
Diffstat (limited to 'crawl-ref/source/spl-other.cc')
-rw-r--r--crawl-ref/source/spl-other.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/spl-other.cc b/crawl-ref/source/spl-other.cc
index 12e6d0e62f..765ec0a2f9 100644
--- a/crawl-ref/source/spl-other.cc
+++ b/crawl-ref/source/spl-other.cc
@@ -103,12 +103,12 @@ spret_type cast_sublimation_of_blood(int pow, bool fail)
mpr("A conflicting enchantment prevents the spell from "
"coming into effect.");
}
- else if (you.species == SP_DJINNI)
- mpr("Draw from your essence to power your essence... yeah right.");
- else if (!you.can_bleed(false))
+ else if (!you.can_bleed())
{
- mpr("You don't have enough blood to draw power from your "
- "own body.");
+ if (you.species == SP_VAMPIRE)
+ mpr("You don't have enough blood to draw power from your own body.");
+ else
+ mpr("Your body is bloodless.");
}
else if (!enough_hp(2, true))
mpr("Your attempt to draw power from your own body fails.");