summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-22 15:54:24 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-22 15:54:24 +1000
commitab3ea04380fd89fb89f061ca6611b6a7cf4f11e1 (patch)
tree33fc646d34ad0e18687bdddfe3c8e68713d82ca2 /crawl-ref/source/it_use2.cc
parent15a43070d595df23a11d9f5b37114b15f1e32443 (diff)
downloadcrawl-ref-ab3ea04380fd89fb89f061ca6611b6a7cf4f11e1.tar.gz
crawl-ref-ab3ea04380fd89fb89f061ca6611b6a7cf4f11e1.zip
Stop Deep Dwarf MP from regenerating with spirit shield.
Don't allow Deep Dwarves to use spirit shields as a free source of regenerating HP. However, this simply stops natural regeneration. Potions of magic, crystal balls, staffs of channeling, and other God powers (Makhleb, Vehumet and Sif Muna) are still acceptable methods.
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index bbd9480716..daf3ac6a1b 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -659,7 +659,11 @@ void unwear_armour(int slot)
case SPARM_SPIRIT_SHIELD:
if (!player_spirit_shield())
+ {
mpr("You feel strangely alone.");
+ if (you.species == SP_DEEP_DWARF)
+ mpr("Your magic begins regenerating once more.");
+ }
else if (player_equip(EQ_AMULET, AMU_GUARDIAN_SPIRIT, true))
{
item_def& amu(you.inv[you.equip[EQ_AMULET]]);