summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-15 07:53:58 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-15 07:53:58 +0000
commitb3878ade17db57b348d950892108b77ace2aa8f0 (patch)
treedf25e90759a2e74b9b331f4dc5c781250a500dc5 /crawl-ref/source/describe.cc
parentcb371dc5d4f25044434fe5b632a769abf5b949ad (diff)
downloadcrawl-ref-b3878ade17db57b348d950892108b77ace2aa8f0.tar.gz
crawl-ref-b3878ade17db57b348d950892108b77ace2aa8f0.zip
Disallow monster vampires to drain monsters (and the player) if they
have no blood - and yes, this means that using the right Transformation can help you avoid this. Also, never drain player vampires. Occasionally equip monster vampires with potions of blood, which they drink in times of emergency with a healing effect between !healing and !heal wounds. Don't allow the player to use the Bat Form transformation (or end said transformation) if doing so would result in death by stat loss. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4236 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 2f487034f4..9f9d44e634 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1646,7 +1646,6 @@ std::string get_item_description( const item_def &item, bool verbose,
break;
case OBJ_POTIONS:
-#ifdef DEBUG_BLOOD_POTIONS
// list content of timer vector for blood potions
if (item.sub_type == POT_BLOOD
|| item.sub_type == POT_BLOOD_COAGULATED)
@@ -1663,7 +1662,8 @@ std::string get_item_description( const item_def &item, bool verbose,
for (int i = 0; i < timer.size(); i++)
description << (timer[i].get_long()) << " ";
}
-#endif
+ break;
+
case OBJ_SCROLLS:
case OBJ_ORBS:
case OBJ_CORPSES: