From 9e0e890875c6481d969e7cef3bce3b16133de1cd Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Tue, 13 Jul 2010 02:55:11 -0500 Subject: [PATCH] Fixed thrown weapons's dps to be parsed as ranged dps Bumped to 1.2b9 --- WeightsWatcher.lua | 3 +-- WeightsWatcher.toc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index 663fa71..c79f514 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -1093,7 +1093,6 @@ end function WeightsWatcher.getItemStats(link) local textL, textR, pattern, func, start local normalStats, nonStats, socketList, socketBonusStat, useEffects, stackingEquipEffects = WeightsWatcher.newStatTable(), {}, {}, WeightsWatcher.newStatTable(), {}, {} - local ranged = false -- Populate hidden tooltip WeightsWatcherHiddenTooltip:ClearLines() @@ -1140,7 +1139,7 @@ function WeightsWatcher.getItemStats(link) end end - if nonStats["slot"] == "ranged" or nonStats["slot"] == "projectile" then + if nonStats["slot"] == "ranged" or nonStats["slot"] == "thrown" or nonStats["slot"] == "projectile" then normalStats["ranged dps"] = rawget(normalStats, "dps") normalStats["dps"] = nil end diff --git a/WeightsWatcher.toc b/WeightsWatcher.toc index 93388ee..59444be 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.2b8 +## Version: 1.2b9 ## OptionalDeps: AtlasLoot ## SavedVariables: ww_vars ## SavedVariablesPerCharacter: ww_charVars -- 1.7.9.5