From 71b87103d0e2bceb2de263068a20a61c6d78556c Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sun, 7 Oct 2012 14:17:08 -0500 Subject: [PATCH] Updated to scanning at level 90 --- ItemScanner.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ItemScanner.lua b/ItemScanner.lua index 12f08b9..383282a 100644 --- a/ItemScanner.lua +++ b/ItemScanner.lua @@ -3,6 +3,7 @@ local CONSECUTIVE_INVALID_TO_IGNORE = 5 local VALID_DELAY = 0.025 local INVALID_DELAY = 10 local NUM_THREADS = 4 +local SCAN_LEVEL = 90 local patterns = { "^Design:", @@ -398,7 +399,7 @@ local function commandHandler(msg) end local function scanItem(i, threadNumber) - return scanItemLink(string.format("item:%d:0:0:0:0:0:0:0:85", i), tooltip, threadNumber) + return scanItemLink(string.format("item:%d:0:0:0:0:0:0:0:" .. SCAN_LEVEL, i), tooltip, threadNumber) end frame.itemco[i] = coroutine.wrap(genericCoroutine) @@ -440,7 +441,7 @@ local function commandHandler(msg) end local function scanSuffix(i) - return scanItemLink(string.format("item:11993:0:0:0:0:0:%d:100:85", i), tooltip) + return scanItemLink(string.format("item:11993:0:0:0:0:0:%d:100:" .. SCAN_LEVEL, i), tooltip) end frame.suffco = coroutine.wrap(genericCoroutine) -- 1.7.9.5