diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-01-10 23:13:55 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-01-10 23:19:31 +0530 |
commit | 5871154a2e85ccd38874e88dea22083ced372141 (patch) | |
tree | b402b490bc7a7cacf46791a90dd036173418af3a /crawl-ref/source/itemname.cc | |
parent | 8a78afdcea14016d0471fe74cc66a943c8fd616a (diff) | |
download | crawl-ref-5871154a2e85ccd38874e88dea22083ced372141.tar.gz crawl-ref-5871154a2e85ccd38874e88dea22083ced372141.zip |
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.
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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); |