From 4d3611df41ad3f5eedd5c24af0d3f61ac8a0345e Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Mon, 26 Apr 2010 12:39:57 -0500 Subject: [PATCH] Fixed hunter and warrior weapon comparisons, updated to 1.2b2 --- WeightsWatcher.lua | 2 +- WeightsWatcher.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index d177da1..f254cf5 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -439,7 +439,7 @@ local function checkForDualWield() local class = WeightsWatcher.playerClass if class == "ROGUE" or class == "DEATHKNIGHT" then return true - elseif (class == "HUNTER" or class == "WARRIOR") and level >= 20 then + elseif (class == "HUNTER" or class == "WARRIOR") and UnitLevel("player") >= 20 then return true elseif class == "SHAMAN" then return checkForDualWield() diff --git a/WeightsWatcher.toc b/WeightsWatcher.toc index 5f83568..a444f4f 100644 --- a/WeightsWatcher.toc +++ b/WeightsWatcher.toc @@ -2,7 +2,7 @@ ## Title: Weights Watcher ## Notes: Ranks gear according to customizable stat weights ## Author: The Flying Squirrels -## Version: 1.2b1 +## Version: 1.2b2 ## OptionalDeps: AtlasLoot ## SavedVariables: ww_vars ## SavedVariablesPerCharacter: ww_charVars -- 1.7.9.5