diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-13 17:31:31 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-13 17:31:31 +0000 |
commit | d733df05e5309444cb83c028c0515467c87ae4c6 (patch) | |
tree | ceafd9ecdfdea838a3a3ba59937154b74b58d784 /crawl-ref/source/religion.cc | |
parent | 74114bc4feef8e1edcea61cc836b9f4946b17223 (diff) | |
download | crawl-ref-d733df05e5309444cb83c028c0515467c87ae4c6.tar.gz crawl-ref-d733df05e5309444cb83c028c0515467c87ae4c6.zip |
Changed unwield_item() to actually unwield the item, and to have it
unwield your weapon rather than something arbitrary (I found no cases
in the code where this wasn't what was wanted.)
Implemented some of David's deck changes:
- decks weigh half as much
- names changed
- Draw Card doesn't cost piety; cost upped to 2 MP
- Nemelex card power bonus now applies even when not praying
- Damnation can now banish extra targets (your own chance of banishment
remains the same.)
- Nemelex doesn't accept sacrificed decks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2082 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 22426c71a8..a960a4b778 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -350,7 +350,7 @@ void inc_penance(int god, int val) // orcish bonuses don't apply under penance if (god == GOD_BEOGH) - you.redraw_armour_class = 1; + you.redraw_armour_class = true; } if (you.penance[god] + val > 200) @@ -2769,6 +2769,9 @@ static bool god_likes_item(god_type god, const item_def& item) { case GOD_KIKUBAAQUDGHA: case GOD_TROG: return item.base_type == OBJ_CORPSES; + + case GOD_NEMELEX_XOBEH: + return !is_deck(item); default: return true; |