summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 731427fb98..35f57a4f3c 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1843,6 +1843,15 @@ static void decrement_durations()
you.redraw_armour_class = 1;
}
+ if (you.duration[DUR_MAGIC_SHIELD] > 1)
+ you.duration[DUR_MAGIC_SHIELD]--;
+ else if (you.duration[DUR_MAGIC_SHIELD] == 1)
+ {
+ you.duration[DUR_MAGIC_SHIELD] = 0;
+ mpr("Your magical shield disappears.", MSGCH_DURATION);
+ you.redraw_armour_class = 1;
+ }
+
if (you.duration[DUR_STONESKIN] > 1)
you.duration[DUR_STONESKIN]--;
else if (you.duration[DUR_STONESKIN] == 1)