WoWInterface SVN DressToKill

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 12 to Rev 13
    Reverse comparison

Rev 12 → Rev 13

DressToKill.lua
159,7 → 159,7
local linen_shirt = "\124cffffffff\124Hitem:2576:0:0:0:0:0:0:0\124h[White Linen Shirt]\124h\124r"
local mh_base = weightFunction(linen_shirt, mainslot) or 0
local oh_base = mh_base
local weapon_max, weapon_win = 0, {}
local weapon_max, weapon_win = (- math.huge), {}
 
debug(L["Weapon base score: %s"], mh_base)
 
241,7 → 241,7
local stash = {}
-- Loop through all of the inventory slots
for slotId,avail in pairs(slotAvail) do
local maxScore, winner = 0, nil
local maxScore, winner = (- math.huge), nil
local link = GetInventoryItemLink("player", slotId)
if link then
-- We current have an item equipped, so stash that item elsewhere