diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-15 17:12:14 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-15 17:12:14 +0000 |
commit | 3db54885807c97d3ea243405c1f31ae8435d2346 (patch) | |
tree | 38cd09167077abdd08467fc1dbb72994fbdafdca /crawl-ref/source/spells4.cc | |
parent | 879785b3d27e8cc07c3b0aeb7396dd809d029348 (diff) | |
download | crawl-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.cc | 6 |
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] |