diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 13:08:35 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 13:08:35 +0000 |
commit | 19d229916a442397c1726d04298329283f2f39f2 (patch) | |
tree | 7c2fae1f13e7bb987619bcec111eb72d1eaca6d9 /crawl-ref/source/food.cc | |
parent | 9fb0ff3699fbf27f4efb1f95971202b4e6f6b552 (diff) | |
download | crawl-ref-19d229916a442397c1726d04298329283f2f39f2.tar.gz crawl-ref-19d229916a442397c1726d04298329283f2f39f2.zip |
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
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r-- | crawl-ref/source/food.cc | 7 |
1 files changed, 3 insertions, 4 deletions
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; } |