summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-10 23:13:55 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-10 23:19:31 +0530
commit5871154a2e85ccd38874e88dea22083ced372141 (patch)
treeb402b490bc7a7cacf46791a90dd036173418af3a /crawl-ref/source/makeitem.cc
parent8a78afdcea14016d0471fe74cc66a943c8fd616a (diff)
downloadcrawl-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/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 7d3182f29f..748b6973a8 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -599,7 +599,7 @@ void item_colour(item_def &item)
break;
}
- if (item.sub_type >= AMU_RAGE)
+ if (item.sub_type >= AMU_FIRST_AMULET)
{
switch (switchnum)
{
@@ -1851,7 +1851,7 @@ static special_missile_type _determine_missile_brand(const item_def& item,
case MI_ARROW:
rc = static_cast<special_missile_type>(
random_choose_weighted(30, SPMSL_FLAME, 30, SPMSL_FROST,
- 20, SPMSL_POISONED, 15, SPMSL_REAPING,
+ 20, SPMSL_POISONED, 15, SPMSL_REAPING,
15, SPMSL_DISPERSAL,
nw, SPMSL_NORMAL,
0));