diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 19:35:30 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 19:35:30 +0000 |
commit | 95e59f96be707defda5bc535d5e72b2f96fc0b21 (patch) | |
tree | 12b5e954c5126f1029f9d3a5e9cfdfaf63242b15 /crawl-ref/source/acr.cc | |
parent | 2408978589f3e2b17fb874dc88137a7c0747af7c (diff) | |
download | crawl-ref-95e59f96be707defda5bc535d5e72b2f96fc0b21.tar.gz crawl-ref-95e59f96be707defda5bc535d5e72b2f96fc0b21.zip |
Clean up "Death Channel" some more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5603 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 67c985e225..96ee704198 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -2691,10 +2691,13 @@ static void _decrement_durations() 6, coinflip(), "You start to feel a little uncertain."); - _decrement_a_duration(DUR_DEATH_CHANNEL, - "Your unholy channel expires.", - 6, coinflip(), - "Your unholy channel is weakening."); + if (_decrement_a_duration(DUR_DEATH_CHANNEL, + "Your unholy channel expires.", + 6, coinflip(), + "Your unholy channel is weakening.")) + { + you.attribute[ATTR_DIVINE_DEATH_CHANNEL] = 0; + } _decrement_a_duration(DUR_SAGE, "You feel less studious."); _decrement_a_duration(DUR_STEALTH, "You feel less stealthy."); |