diff options
author | Shayne Halvorson <N78291@gmail.com> | 2014-05-09 15:43:17 -0500 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-28 01:14:19 -0400 |
commit | 8f604238169594948847a0f312de6f98fb107124 (patch) | |
tree | 6136bd93c1943f57a4923cbff38616778e42d1c2 /crawl-ref/source/godprayer.cc | |
parent | 7aedcd24e1be3ed58fef9542786c1a194e4c07d0 (diff) | |
download | crawl-ref-8f604238169594948847a0f312de6f98fb107124.tar.gz crawl-ref-8f604238169594948847a0f312de6f98fb107124.zip |
Change Nemelex piety gain to piety from exploration.
Nemelex no longer accepts sacrifices or grants piety for using
decks.
Diffstat (limited to 'crawl-ref/source/godprayer.cc')
-rw-r--r-- | crawl-ref/source/godprayer.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc index be7c052a52..a275bf3ced 100644 --- a/crawl-ref/source/godprayer.cc +++ b/crawl-ref/source/godprayer.cc @@ -746,33 +746,6 @@ static piety_gain_t _sacrifice_one_item_noncount(const item_def& item, break; } - case GOD_NEMELEX_XOBEH: - { - if (you.attribute[ATTR_CARD_COUNTDOWN] && x_chance_in_y(value, 800)) - { - you.attribute[ATTR_CARD_COUNTDOWN]--; -#if defined(DEBUG_DIAGNOSTICS) || defined(DEBUG_CARDS) || defined(DEBUG_SACRIFICE) - mprf(MSGCH_DIAGNOSTICS, "Countdown down to %d", - you.attribute[ATTR_CARD_COUNTDOWN]); -#endif - } - // Nemelex piety gain is fairly fast... at least when you - // have low piety. - int piety_change = value/2 + 1; - if (is_artefact(item)) - piety_change *= 2; - int piety_denom = 30 + you.piety/2; - - gain_piety(piety_change, piety_denom); - - // Preserving the old behaviour of giving the big message for - // artefacts and artefacts only. - relative_piety_gain = x_chance_in_y(piety_change, piety_denom) ? - is_artefact(item) ? - PIETY_LOTS : PIETY_SOME : PIETY_NONE; - break; - } - case GOD_JIYVA: { // compress into range 0..250 |