summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-27 21:56:02 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-27 21:57:03 +0100
commit6d60aeaaaea0057f935d99961ed714c161f1f19e (patch)
tree4403abe59861433653240d5a843169ffb34cc70a /crawl-ref/source/godpassive.cc
parent4acf371bdd34567f88708660b3def154243f35a5 (diff)
downloadcrawl-ref-6d60aeaaaea0057f935d99961ed714c161f1f19e.tar.gz
crawl-ref-6d60aeaaaea0057f935d99961ed714c161f1f19e.zip
Remove piety requirements for Ashenzari identifying pluses on armour/weapons
They're now always identified if that slot is cursed, rather than having hidden (and differing) piety breakpoints.
Diffstat (limited to 'crawl-ref/source/godpassive.cc')
-rw-r--r--crawl-ref/source/godpassive.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc
index 9e18ff69c1..2ea4c1fb38 100644
--- a/crawl-ref/source/godpassive.cc
+++ b/crawl-ref/source/godpassive.cc
@@ -389,15 +389,12 @@ bool god_id_item(item_def& item, bool silent)
ided |= ISFLAG_IDENT_MASK;
if (item.base_type == OBJ_ARMOUR
- && you.piety >= piety_breakpoint(0)
&& _is_slot_cursed(get_armour_slot(item)))
{
- // Armour would id the pluses when worn, unlike weapons.
ided |= ISFLAG_KNOW_PLUSES;
}
if (is_weapon(item)
- && you.piety >= piety_breakpoint(1)
&& _is_slot_cursed(EQ_WEAPON))
{
ided |= ISFLAG_KNOW_PLUSES;