From 19d229916a442397c1726d04298329283f2f39f2 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 20 Apr 2008 13:08:35 +0000 Subject: Vampires: Allow Bat Form only until Satiated, and add this and the mutation chances to the vampire overview screen. Also, add time-out messages for Icy Armour (FR 1946662) and Forescry, because why not? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4408 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/food.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/food.cc') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index a8ed16a0a1..fa28e1f4de 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -665,12 +665,11 @@ static bool food_change(bool suppress_message) you.duration[DUR_TRANSFORMATION] = 2; } } - else if (newstate == HS_ENGORGED - && you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT + else if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT && you.duration[DUR_TRANSFORMATION] > 5) { - mpr("Your bloodfilled body can't sustain your transformation much " - "longer.", MSGCH_WARN); + mpr("Your bloodfilled body can't sustain your transformation " + "much longer.", MSGCH_WARN); // give more time because suddenly stopping flying can be lethal you.duration[DUR_TRANSFORMATION] = 5; } -- cgit v1.2.3-54-g00ecf