From 506e73b0514a17fe832d707b575f9135472109df Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Wed, 8 Aug 2012 00:36:52 +0200 Subject: [PATCH] Update lockboxes and fix the check --- Lockpicking.lua | 9 +++++---- Molinari.lua | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Lockpicking.lua b/Lockpicking.lua index d569198..b6f33be 100644 --- a/Lockpicking.lua +++ b/Lockpicking.lua @@ -1,8 +1,10 @@ local _, ns = ... +-- http://www.wowhead.com/items?filter=cr=10:5;crs=1:2;crv=0:0 + local openable = { - ['68729'] = true, -- MoP - ['63349'] = true, -- MoP + ['68729'] = true, + ['63349'] = true, ['45986'] = true, ['43624'] = true, ['43622'] = true, @@ -13,6 +15,7 @@ local openable = { ['5760'] = true, ['13918'] = true, ['5759'] = true, + ['16885'] = true, ['5758'] = true, ['13875'] = true, ['4638'] = true, @@ -28,8 +31,6 @@ local openable = { ['4632'] = true, ['88165'] = true, ['88567'] = true, - ['88165'] = true, - ['88567'] = true, } function ns.Openable(link) diff --git a/Molinari.lua b/Molinari.lua index dca99af..22d23a0 100644 --- a/Molinari.lua +++ b/Molinari.lua @@ -41,7 +41,7 @@ function button:PLAYER_LOGIN() spell, r, g, b = GetSpellInfo(13262), 1/2, 1/2, 1 end - if(not spell and rogue and ns.Openable) then + if(not spell and rogue and ns.Openable(link)) then spell, r, g, b = GetSpellInfo(1804), 0, 1, 1 end -- 1.7.9.5