diff options
author | Sage <SageBasilMint@gmail.com> | 2014-04-23 03:45:58 +0000 |
---|---|---|
committer | Sage <SageBasilMint@gmail.com> | 2014-04-23 04:08:58 +0000 |
commit | 2c29f1d7c6e17e2024f43e7ad02b686359303d29 (patch) | |
tree | 255df97d2dff63f28f189e428a4d407c0eddcb7c /crawl-ref/source/player-reacts.cc | |
parent | 577fbdc5c3c99cbe3612274f177b6987429688f8 (diff) | |
download | crawl-ref-2c29f1d7c6e17e2024f43e7ad02b686359303d29.tar.gz crawl-ref-2c29f1d7c6e17e2024f43e7ad02b686359303d29.zip |
Change Ozocubu's Refrigeration.
Instead of shattering potions, player-cast refrigeration prevents
potion use for 7-15 turns, with duration of repeated casts capped to
15 turns. Monster refrigeration is unaffected.
Diffstat (limited to 'crawl-ref/source/player-reacts.cc')
-rw-r--r-- | crawl-ref/source/player-reacts.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/player-reacts.cc b/crawl-ref/source/player-reacts.cc index eeef930041..9ae7476d29 100644 --- a/crawl-ref/source/player-reacts.cc +++ b/crawl-ref/source/player-reacts.cc @@ -729,6 +729,10 @@ static void _decrement_durations() "The ice encasing you melts away.", 0, NULL, MSGCH_RECOVERY); + _decrement_a_duration(DUR_NO_POTIONS, delay, + "You can drink potions again.", + 0, NULL, MSGCH_RECOVERY); + dec_slow_player(delay); dec_exhaust_player(delay); dec_haste_player(delay); |