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/acr.cc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index a45d5d25d7..ab4d8a0a2d 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -2564,8 +2564,13 @@ static void _decrement_durations() } } - if (_decrement_a_duration(DUR_ICY_ARMOUR, "Your icy armour evaporates.")) + if (_decrement_a_duration(DUR_ICY_ARMOUR, + "Your icy armour evaporates.", + 6, coinflip(), + "Your icy armour start to melt.")) + { you.redraw_armour_class = true; + } if (_decrement_a_duration(DUR_SILENCE, "Your hearing returns.")) you.attribute[ATTR_WAS_SILENCED] = 0; @@ -2664,7 +2669,7 @@ static void _decrement_durations() // Vampire bat transformations are permanent (until ended.) if (you.species != SP_VAMPIRE || you.attribute[ATTR_TRANSFORMATION] != TRAN_BAT - || you.duration[DUR_TRANSFORMATION] <= 2) + || you.duration[DUR_TRANSFORMATION] <= 5) { if ( _decrement_a_duration(DUR_TRANSFORMATION, NULL, 10, random2(3), @@ -2703,8 +2708,12 @@ static void _decrement_durations() } if ( _decrement_a_duration(DUR_FORESCRY, - "You feel firmly rooted in the present.") ) + "You feel firmly rooted in the present.", + 6, coinflip(), + "Your vision of the future begins to falter.")) + { you.redraw_evasion = true; + } if ( _decrement_a_duration(DUR_SEE_INVISIBLE) && !player_see_invis() ) mpr("Your eyesight blurs momentarily.", MSGCH_DURATION); -- cgit v1.2.3-54-g00ecf