summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-04 18:15:56 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-05 22:02:25 +0200
commitb7dee52a419fd5470a063b2e34b3d2bfb7a04e5f (patch)
treefef93966a3726abaac7e3045f869bd15ec941092 /crawl-ref/source/itemname.cc
parentef6ad2cc032c461e2acea1f53dc01710b8dd2305 (diff)
downloadcrawl-ref-b7dee52a419fd5470a063b2e34b3d2bfb7a04e5f.tar.gz
crawl-ref-b7dee52a419fd5470a063b2e34b3d2bfb7a04e5f.zip
Amulet of guardian spirit, it comes as an amulet or a cap.
When worn, all non-poison damage will drain mana instead, hurting hp only after mana is depleted. The cap brand is intended only for a fixedart, but per dpeg's request, it will be generated on ordinary caps for now, as a test.
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 936bbb59a5..d00e81fb54 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -380,6 +380,7 @@ static const char* armour_ego_name( special_armour_type sparm, bool terse )
case SPARM_ARCHMAGI: return "the Archmagi";
case SPARM_PRESERVATION: return "preservation";
case SPARM_REFLECTION: return "reflection";
+ case SPARM_SPIRIT_SHIELD: return "spirit shield";
default: return "bugginess";
}
}
@@ -406,6 +407,7 @@ static const char* armour_ego_name( special_armour_type sparm, bool terse )
case SPARM_ARCHMAGI: return " {Archmagi}";
case SPARM_PRESERVATION: return " {rCorr, Cons}";
case SPARM_REFLECTION: return " {rflct}";
+ case SPARM_SPIRIT_SHIELD: return " {Spirit}";
default: return " {buggy}";
}
}
@@ -592,6 +594,7 @@ static const char* jewellery_type_name(int jeweltype)
case AMU_CONTROLLED_FLIGHT: return "amulet of controlled flight";
case AMU_INACCURACY: return "amulet of inaccuracy";
case AMU_RESIST_MUTATION: return "amulet of resist mutation";
+ case AMU_GUARDIAN_SPIRIT: return "amulet of guardian spirit";
default: return "buggy jewellery";
}
}