From cdd916da064806bcc7da69efbb1b9cdc4ce818ad Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 9 Mar 2009 23:33:18 +0000 Subject: Tweak duration messages a bit, and mention the risk of magic contamination in the description of the Extension spell, as suggested in [1946662]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9405 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 5ab6af83bc..3ea824aae0 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3703,7 +3703,7 @@ int get_expiration_threshold(duration_type dur) { case DUR_FIRE_SHIELD: case DUR_SILENCE: // no message - return 5; + return (5); case DUR_DEFLECT_MISSILES: case DUR_REPEL_MISSILES: @@ -3718,23 +3718,23 @@ int get_expiration_threshold(duration_type dur) case DUR_FORESCRY: case DUR_CONTROL_TELEPORT: case DUR_DEATH_CHANNEL: - return 6; + return (6); case DUR_LEVITATION: case DUR_TRANSFORMATION: // not on status case DUR_DEATHS_DOOR: // not on status - return 10; + return (10); // These get no messages when they "flicker". case DUR_SAGE: case DUR_BARGAIN: - return 15; + return (15); case DUR_CONFUSING_TOUCH: - return 20; + return (20); default: - return 0; + return (0); } } -- cgit v1.2.3-54-g00ecf