diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-09 23:33:18 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-09 23:33:18 +0000 |
commit | cdd916da064806bcc7da69efbb1b9cdc4ce818ad (patch) | |
tree | 8cc8e3f8f6a72fae17eadc12b3dd50f24615ba14 /crawl-ref/source/player.cc | |
parent | 966ce459bdcd6802598af4997766da053388bbe4 (diff) | |
download | crawl-ref-cdd916da064806bcc7da69efbb1b9cdc4ce818ad.tar.gz crawl-ref-cdd916da064806bcc7da69efbb1b9cdc4ce818ad.zip |
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 12 |
1 files changed, 6 insertions, 6 deletions
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); } } |