summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-15 17:12:14 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-15 17:12:14 +0000
commit3db54885807c97d3ea243405c1f31ae8435d2346 (patch)
tree38cd09167077abdd08467fc1dbb72994fbdafdca /crawl-ref/source/spells4.cc
parent879785b3d27e8cc07c3b0aeb7396dd809d029348 (diff)
downloadcrawl-ref-3db54885807c97d3ea243405c1f31ae8435d2346.tar.gz
crawl-ref-3db54885807c97d3ea243405c1f31ae8435d2346.zip
Display a message when renewing TSO's divine shield, and redraw armor
class when doing so in case it's begun to fade. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9772 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 117079164c..2fff80569c 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1875,9 +1875,10 @@ void remove_divine_shield()
// recasting simply resets those two values (to better values, presumably)
void cast_divine_shield()
{
- if (!you.duration[DUR_DIVINE_SHIELD])
+ if (you.duration[DUR_DIVINE_SHIELD])
+ mpr("Your divine shield is renewed.");
+ else
{
- you.redraw_armour_class = true;
if (you.shield()
|| you.duration[DUR_FIRE_SHIELD]
|| you.duration[DUR_CONDENSATION_SHIELD])
@@ -1888,6 +1889,7 @@ void cast_divine_shield()
else
mpr("A divine shield forms around you!");
}
+ you.redraw_armour_class = true;
// duration of complete shield bonus from 35 to 80 turns
you.duration[DUR_DIVINE_SHIELD]