@@ -90,13 +90,13 @@ local displayStats = {
90
90
{ stat = " SoulCost" , label = " Soul Cost" , fmt = " d" , color = colorCodes .RAGE , pool = " Soul" , compPercent = true , lowerIsBetter = true , condFunc = function (v ,o ) return o .SoulHasCost end },
91
91
{ },
92
92
{ stat = " Str" , label = " Strength" , color = colorCodes .STRENGTH , fmt = " d" },
93
- { stat = " ReqStr" , label = " Strength Required" , color = colorCodes .STRENGTH , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > o .Str end , warnFunc = function (v ) return " You do not meet the Strength requirement" end },
93
+ { stat = " ReqStr" , label = " Strength Required" , color = colorCodes .STRENGTH , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > o .Str end , warnFunc = function (v , o ) return " You do not meet the Strength requirement of " .. ( o . ReqStrItem . source == " Item " and o . ReqStrItem . sourceItem . name or o . ReqStrItem . source == " Gem " and o . ReqStrItem . sourceGem . nameSpec ) end },
94
94
{ stat = " Dex" , label = " Dexterity" , color = colorCodes .DEXTERITY , fmt = " d" },
95
- { stat = " ReqDex" , label = " Dexterity Required" , color = colorCodes .DEXTERITY , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > o .Dex end , warnFunc = function (v ) return " You do not meet the Dexterity requirement" end },
95
+ { stat = " ReqDex" , label = " Dexterity Required" , color = colorCodes .DEXTERITY , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > o .Dex end , warnFunc = function (v , o ) return " You do not meet the Dexterity requirement of " .. ( o . ReqDexItem . source == " Item " and o . ReqDexItem . sourceItem . name or o . ReqDexItem . source == " Gem " and o . ReqDexItem . sourceGem . nameSpec ) end },
96
96
{ stat = " Int" , label = " Intelligence" , color = colorCodes .INTELLIGENCE , fmt = " d" },
97
- { stat = " ReqInt" , label = " Intelligence Required" , color = colorCodes .INTELLIGENCE , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > o .Int end , warnFunc = function (v ) return " You do not meet the Intelligence requirement" end },
97
+ { stat = " ReqInt" , label = " Intelligence Required" , color = colorCodes .INTELLIGENCE , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > o .Int end , warnFunc = function (v , o ) return " You do not meet the Intelligence requirement of " .. ( o . ReqIntItem . source == " Item " and o . ReqIntItem . sourceItem . name or o . ReqIntItem . source == " Gem " and o . ReqIntItem . sourceGem . nameSpec ) end },
98
98
{ stat = " Omni" , label = " Omniscience" , color = colorCodes .RARE , fmt = " d" },
99
- { stat = " ReqOmni" , label = " Omniscience Required" , color = colorCodes .RARE , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > (o .Omni or 0 ) end , warnFunc = function (v ) return " You do not meet the Omniscience requirement" end },
99
+ { stat = " ReqOmni" , label = " Omniscience Required" , color = colorCodes .RARE , fmt = " d" , lowerIsBetter = true , condFunc = function (v ,o ) return v > (o .Omni or 0 ) end , warnFunc = function (v , o ) return " You do not meet the Omniscience requirement of " .. ( o . ReqOmniItem . source == " Item " and o . ReqOmniItem . sourceItem . name or o . ReqOmniItem . source == " Gem " and o . ReqOmniItem . sourceGem . nameSpec ) end },
100
100
{ },
101
101
{ stat = " Devotion" , label = " Devotion" , color = colorCodes .RARE , fmt = " d" },
102
102
{ },
0 commit comments