summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index 5c8a1dafc0..94f0dc4a6b 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1058,6 +1058,13 @@ void static _get_randart_properties(const item_def &item,
power_level++;
}
+ if (!done_powers && one_chance_in(10) && aclass == OBJ_ARMOUR
+ && (atype == ARM_CAP || atype == ARM_SHIELD))
+ {
+ proprt[ARTP_SPIRIT_SHIELD] = 1;
+ power_level++;
+ }
+
// Armours get fewer powers, and are also less likely to be
// cursed than weapons
if (aclass == OBJ_ARMOUR)