From 5871154a2e85ccd38874e88dea22083ced372141 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Sun, 10 Jan 2010 23:13:55 +0530 Subject: Amulet of Faith, mark I. Amulets of faith have these effects: - Piety gain is 1/3 faster. - Gods that protect from harm are more likely to do so (your piety is 1/3rd higher for such checks). - Xom piety walk is 1/3 faster. - Xom is more likely to act. - Removing the amulet leaches away some piety, but will never cause excommunication, or drop piety too close to excommunication. Amulets auto-id if the player already has a religion, or when the player acquires a religion while wearing the amulet. --- crawl-ref/source/itemname.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/itemname.cc') diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index de7df19748..fa8bbc9332 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -594,6 +594,8 @@ static const char* jewellery_type_name(int jeweltype) 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"; + case AMU_FAITH: return "amulet of faith"; + case AMU_STASIS: return "amulet of stasis"; default: return "buggy jewellery"; } } @@ -2733,6 +2735,9 @@ bool is_useless_item(const item_def &item, bool temp) || (player_mutation_level(MUT_HERBIVOROUS) == 3) || you.species == SP_MUMMY); + case AMU_FAITH: + return (you.species == SP_DEMIGOD); + case RING_LIFE_PROTECTION: return (player_prot_life(false, temp, false) == 3); -- cgit v1.2.3-54-g00ecf