summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-scan.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-09 17:09:56 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-09 22:34:55 +0200
commite6d205aeb2f298b215f42d6ad8a22f87f3ad97b3 (patch)
tree2cf51ba12b5f79ea19918d6617d71a173c9a1ee0 /crawl-ref/source/dbg-scan.cc
parent9e19cc856f91e5a4bdc1bd41663fcff1d9158db6 (diff)
downloadcrawl-ref-e6d205aeb2f298b215f42d6ad8a22f87f3ad97b3.tar.gz
crawl-ref-e6d205aeb2f298b215f42d6ad8a22f87f3ad97b3.zip
Use 30 for sanity caps of all item enchantment types.
It was 30 for weapons, 25 for armour, which caused spam with Lear's.
Diffstat (limited to 'crawl-ref/source/dbg-scan.cc')
-rw-r--r--crawl-ref/source/dbg-scan.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc
index cd7df5de50..26c39ac327 100644
--- a/crawl-ref/source/dbg-scan.cc
+++ b/crawl-ref/source/dbg-scan.cc
@@ -197,12 +197,12 @@ void debug_item_scan(void)
&& mitm[i].special >= NUM_SPECIAL_WEAPONS))
|| (mitm[i].base_type == OBJ_MISSILES
- && (abs(mitm[i].plus) > 25
+ && (abs(mitm[i].plus) > 30
|| !is_artefact(mitm[i])
&& mitm[i].special >= NUM_SPECIAL_MISSILES))
|| (mitm[i].base_type == OBJ_ARMOUR
- && (abs(mitm[i].plus) > 25
+ && (abs(mitm[i].plus) > 30
|| !is_artefact(mitm[i])
&& mitm[i].special >= NUM_SPECIAL_ARMOURS)))
{