From e323bec092c02f5c40b1330da31f7d15255bf89a Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Wed, 20 Jan 2010 19:08:07 -0600 Subject: [PATCH] Fixed comparing a one-hander to an equipped two-hander Fixed which weapons get special consideration for Titan's Grip --- WeightsWatcher.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index 86efb9e..b0ae418 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -350,7 +350,7 @@ local function checkForTitansGrip() end local function determineCompareMethod(currentSlot, compareSlot, compareSlot2, currentSubslot, compareSubslot, compareSubslot2) - if checkForTitansGrip() then + if checkForTitansGrip() and (compareSubslot == "Axe" or compareSubslot == "Mace" or compareSubslot == "Sword") then if currentSlot == "Two-Hand" then currentSlot = "One-Hand" end @@ -375,7 +375,7 @@ local function determineCompareMethod(currentSlot, compareSlot, compareSlot2, cu return "1" end elseif currentSlot == "One-Hand" then - if compareSlot == "Main Hand" or compareSlot == "One-Hand" or (compareSlot == "Off Hand" and compareSubslot ~= "Shield") then + if compareSlot == "Main Hand" or compareSlot == "One-Hand" or (compareSlot == "Off Hand" and compareSubslot ~= "Shield") or compareSlot == "Two-Hand" then if compareSlot2 == "Main Hand" or compareSlot2 == "One-Hand" or (compareSlot2 == "Off Hand" and compareSubslot2 ~= "Shield") then return "worst" else -- 1.7.9.5