From 6a06effeb404d18716df4ed0a5d73ae0498d0b86 Mon Sep 17 00:00:00 2001 From: Silversage of Eitrigg Date: Wed, 26 Oct 2011 07:27:29 -0700 Subject: [PATCH] Model prismatic sockets --- REAMDE | 9 +++++++-- SageGearLevelTooltip.lua | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/REAMDE b/REAMDE index 198ab93..c4ad749 100644 --- a/REAMDE +++ b/REAMDE @@ -35,8 +35,7 @@ can help improve SGA by providing better stats for that class. Feature Wish List -------------------------------------------------------------------------------- -1. Correctly account for meta-gem sockets, prismatic sockets, and cogwheel - sockets. +1. Correctly account for meta-gem sockets, and cogwheel sockets. 2. Dynamic stat weighting, so that stat weights adjust for available gear. 3. Evaluate single items in context of existing gear set. For example, evaluate the improvement of equipping a certain item in the context of other items in @@ -81,6 +80,12 @@ items when only one has a meta-socket. -------------------------------------------------------------------------------- Versions -------------------------------------------------------------------------------- +v0.19 Handle prismatic sockets in the same way we're handling colored sockets. +v0.18 Bug fix. Errors while calculating tooltip should not show stack trace. +v0.17 Code refactor. +v0.16 Minor tweaks to DK and paladin tank stats. +v0.15 Trying wowi's auto-versioning. +v0.14 Re-released using wowi packaging. No intended behavior changes. v0.13 Updated .toc version number v0.12 Gah. Made extraction correct. v0.11 Edits to REAMDE diff --git a/SageGearLevelTooltip.lua b/SageGearLevelTooltip.lua index a3fd009..51667e1 100644 --- a/SageGearLevelTooltip.lua +++ b/SageGearLevelTooltip.lua @@ -208,6 +208,8 @@ local BestReforgedEvaluator do instance.coefficients.RedSocket = math.max(socketValue, instance.coefficients.RedSocket or 0) instance.coefficients.BlueSocket = math.max(socketValue, instance.coefficients.BlueSocket or 0) instance.coefficients.YellowSocket = math.max(socketValue, instance.coefficients.YellowSocket or 0) + instance.coefficients.PrismaticSocket + = math.max(socketValue, instance.coefficients.PrismaticSocket or 0) end function class:_GetItemStats(itemLink) -- 1.7.9.5