summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-07-07 06:13:57 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-07-08 15:12:38 +0100
commit3d4682682ae7821b541829bac35132bfb9ae33b1 (patch)
treeb5bd42a39154187030272a6a173e3301732d488a /crawl-ref/source/godpassive.cc
parent379beb6308ac1894083e5b4b0c299264b7510a00 (diff)
downloadcrawl-ref-3d4682682ae7821b541829bac35132bfb9ae33b1.tar.gz
crawl-ref-3d4682682ae7821b541829bac35132bfb9ae33b1.zip
Let Felids be fully bound under Ashenzari when all their slots are cursed
Previously it was only possible for them to reach level 3 out of 4 with all their slots cursed. Instead allow them to be fully bound when all three jewellery slots are cursed at once.
Diffstat (limited to 'crawl-ref/source/godpassive.cc')
-rw-r--r--crawl-ref/source/godpassive.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc
index 76abeca76e..54ee1b214a 100644
--- a/crawl-ref/source/godpassive.cc
+++ b/crawl-ref/source/godpassive.cc
@@ -245,6 +245,10 @@ void ash_check_bondage(bool msg)
for (int i = EQ_LEFT_RING; i < NUM_EQUIP; ++i)
if (you.equip[i] != -1 && you.inv[you.equip[i]].cursed())
++you.bondage_level;
+
+ // Allow full bondage when all available slots are cursed.
+ if (you.bondage_level == 3)
+ ++you.bondage_level;
}
else
for (int i = ET_WEAPON; i < NUM_ET; ++i)